Skip to main content

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.

# To list outdated dependencies in the current directory:
ncu

# To list outdated global npm packages:
ncu -g

# To upgrade all dependencies in the current directory:
ncu -u

# To interactively upgrade dependencies in the current directory:
ncu -i

# To display help:
ncu -h