Answers for "how to update all package json last version"

5

upgrade all packages in package.json

npm install -g npm-check-updates
ncu -u
npm install
Posted by: Guest on December-28-2020
2

update all packages in package.json

//To install major updates globally
npm install -g npm-check-updates

//To see a list of outdated packages
npm outdated

//To update the packages to their latest versions in package.json
ncu -u

//To install the new updates
npm update 	or 	npm install
Posted by: Guest on May-15-2021

Code answers related to "how to update all package json last version"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language