npm install "-g" option code example
Example: npm install package as developer dependency
npm install --save-dev package
# example:
npm install --save-dev nodemon
npm install --save-dev package
# example:
npm install --save-dev nodemon