Update cheatsheets

This commit is contained in:
ivuorinen
2025-11-29 00:20:05 +00:00
parent 5c637b8c84
commit d1988a6d2c
87 changed files with 623 additions and 154 deletions

37
tldr/bun-update Normal file
View File

@@ -0,0 +1,37 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# bun update
> Update dependencies in a Bun project.
> More information: <https://bun.com/docs/pm/cli/update>.
- Update all dependencies:
`bun update`
- Update to the latest version, regardless of its compatibility:
`bun update --latest`
- Update a specific dependency:
`bun update {{package_name}}`
- Update a dependency to a specific version:
`bun update {{package_name}}@{{version}}`
- Update packages interactively:
`bun update {{[-i|--interactive]}}`
- Update dependencies recursively across all workspaces:
`bun update {{[-r|--recursive]}}`
- Update dependencies interactively and recursively:
`bun update {{[-i|--interactive]}} {{[-r|--recursive]}}`