mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-23 19:55:24 +02:00
npm-update: add page (#14242)
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
This commit is contained in:
parent
bb6dd6c405
commit
9d242479d0
1 changed files with 20 additions and 0 deletions
20
pages/common/npm-update.md
Normal file
20
pages/common/npm-update.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# 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 {{package}}`
|
||||
|
||||
- Update multiple packages at once:
|
||||
|
||||
`npm update {{package1 package2 ...}}`
|
Loading…
Add table
Reference in a new issue