rhm
14
Q:

npm install package globally

npm install npm@latest -g
3
npm install --save-dev package
# example:
npm install --save-dev nodemon
2
npm install package-name -g
3
#Syntex
npm install packagename -g

#example
npm install express -g
3
#how to install any specific package in nodejs Application
# Syntex
npm install packagename

# example:
npm install express
npm i express

#if you install globally then type 
npm install express -g
2
npm install packagename
1
npm i -g <package>
0

New to Communities?

Join the community