casper's Profile Image

Full Stack Web/Mobile Developer

Nov, 7, 2023

How To Update Npm Dependencies

You can update all of the npm dependencies with a few lines of code.

How To Update Npm Dependencies Image
npm install -g npm-check-updates

Then, run "ncu" to display packages to upgrade. Similar to npm outdated it will not apply any changes.

To upgrade dependencies, you just need to run:

ncu --upgrade

// or 
ncu -u
0
0

Comments (0)