npm install package globally
#Syntex
npm install packagename -g
#example
npm install express -g
npm install package globally
#Syntex
npm install packagename -g
#example
npm install express -g
what is npm global install
flag for npm install ... installs a module globally on your system.
good for tools, utilities you will use in more than one project
--global flag when running the install command
it puts the module in a system directory
rather than locally (to the current directory).
install an npm package
npm install package-name
To save as a dependency:
npm install package-name --save
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us