Skip to content

npm check updates (ncu)

Created: 2015-12-31 19:45:29 -0800 Modified: 2016-03-27 23:02:15 -0700

https://www.npmjs.com/package/npm-check-updates

This finds newer versions of all of the dependencies in your package.json (if they exist). It can also install them or tell you how at least.

Usage:

  • npm install -g npm-check-updates
  • ncu <— note: this will NOT make any changes, it just does a scan.
  • ncu -u <— note: this WILL make changes by upgrading package.json.
  • npm install
    • This will actually apply the changes to the installed node_modules