ncu Command Examples

Find newer versions of package dependencies and check outdated npm packages locally or globally. ncu only updates dependency versions in package.json. To install the new versions, run npm install afterwards. More information: https://github.com/raineorshine/npm-check-updates.

ncu

ncu --global

ncu --upgrade

ncu --interactive

ncu --target {{minor}}

ncu --filter {{keyword|/regex/}}

ncu --dep {{dev|optional|peer|prod|packageManager}}

ncu --help