npm list global packages
npm list -g --depth 0
npm list global packages
npm list -g --depth 0
npm install package globally
#Syntex
npm install packagename -g
#example
npm install express -g
npm global Install
npm install -g <package_name>
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).
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