Update cheatsheets

This commit is contained in:
ivuorinen
2024-10-17 00:17:21 +00:00
parent f32d2d1ccd
commit 7d8d3edd4e
24 changed files with 307 additions and 37 deletions

25
tldr/npm-update Normal file
View 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 ...}}`