NPM: Update NPM, Update a Package, Update Global Packages

4/25/2020 8:29:03 PM

NPM

View npm version
npm -v
Install the latest version of NPM
npm install -g npm@latest
View global packages that have updates
npm outdated -g --depth=0
Update all global packages
npm update -g
Update a single global package
npm update -g <package_name>
Update local packages
npm update
Update a specific local packages
npm update <package_name>