mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
20 lines
417 B
Markdown
20 lines
417 B
Markdown
# npm update
|
|
|
|
> Update packages in the current project.
|
|
> More information: <https://docs.npmjs.com/cli/commands/npm-update>.
|
|
|
|
- Update all packages in the current project:
|
|
|
|
`npm update`
|
|
|
|
- Update a specific package in the current project:
|
|
|
|
`npm update {{package}}`
|
|
|
|
- Update a package globally:
|
|
|
|
`npm update {{[-g|--global]}} {{package}}`
|
|
|
|
- Update multiple packages at once:
|
|
|
|
`npm update {{package1 package2 ...}}`
|