npm
-
to manage multiple
node
usenvm
- node version manager -
npm --version
show version of npm installed npm install -g npm@latest
update npmnpm config list
show configuration of npmnpm install [pkgname] -g
install package in global modenpm list --global
list installed packages globallynpm list -g --depth=0
show less verbose output of installed packages globallynpm search [pkgname]
search a particular packagenpm uninstall [pkgname]
remove a particular package