npm install gloobal code example
Example 1: npm install package as developer dependency
npm install --save-dev package
# example:
npm install --save-dev nodemon
Example 2: npm install package globally
#Syntex
npm install packagename -g
#example
npm install express -g