mirror of https://github.com/CrimsonTome/tldr.git
26 lines
574 B
Markdown
26 lines
574 B
Markdown
|
# ncu
|
||
|
|
||
|
> 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>.
|
||
|
|
||
|
- List outdated dependencies in the current directory:
|
||
|
|
||
|
`ncu`
|
||
|
|
||
|
- List outdated global npm packages:
|
||
|
|
||
|
`ncu -g`
|
||
|
|
||
|
- Upgrade all dependencies in the current directory:
|
||
|
|
||
|
`ncu -u`
|
||
|
|
||
|
- Interactively upgrade dependencies in the current directory:
|
||
|
|
||
|
`ncu -i`
|
||
|
|
||
|
- Display help:
|
||
|
|
||
|
`ncu -h`
|