Skip to content

Node Cheat Sheet#

Nvm#

  • nvm-windows: hassle free install means on windows
  • npm-check-updates: utility package for major version package upgrades
  • npm install -g npm-check-updates

Npm#

Command Desc
npm outdated find outdated files
npm install -g npm@latest update npm
npm update [--omit=dev --package-lock=false] minor version package upgrade + package-lock.json
ncu -u && npm update major version package upgrade + package.json version hints
npm i -g npm-check-updates check outdated global packages
ncu -i interactive version of ncu -u
ncu 'what if' version of ncu -u i.e. won't modify package.json

References#


Last update: June 30, 2022