ncu
Find newer versions of package dependencies and check outdated npm packages locally or globally.
ncuonly updates dependency versions inpackage.json. To install the new versions, runnpm installafterwards. More information: https://github.com/raineorshine/npm-check-updates.
- List outdated dependencies in the current directory:
ncu
- List outdated global
npmpackages:
ncu --global
- Upgrade all dependencies in the current directory:
ncu --upgrade
- Interactively upgrade dependencies in the current directory:
ncu --interactive
- List outdated dependencies up to the highest minor version:
ncu --target
- List outdated dependencies that match a keyword or
regex:
ncu --filter
- List only a specific section of outdated dependencies:
ncu --dep
- Display help:
ncu --help
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
