Answers for "npm how to update packages in current directory"

14

use npm to update packages to latest version

npm i -g npm-check-updates
ncu -u
npm install
Posted by: Guest on February-04-2020
0

update all packages npm to latest

npx npm-check-updates -u
npm install

# Caution: This might break something. Only use if you know what you are doing.
Posted by: Guest on September-30-2021

Code answers related to "npm how to update packages in current directory"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language