mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-06 23:56:58 +00:00
Update cheatsheets
This commit is contained in:
25
tldr/npm-update
Normal file
25
tldr/npm-update
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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 ...}}`
|
||||
Reference in New Issue
Block a user