mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-02 01:54:33 +00:00
Update cheatsheets
This commit is contained in:
25
tldr/opencode-upgrade
Normal file
25
tldr/opencode-upgrade
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# opencode upgrade
|
||||
|
||||
> Upgrade OpenCode to the latest version or a specific version.
|
||||
> More information: <https://opencode.ai/docs/cli#upgrade>.
|
||||
|
||||
- Upgrade to the latest version:
|
||||
|
||||
`opencode upgrade`
|
||||
|
||||
- Upgrade/downgrade to a specific version:
|
||||
|
||||
`opencode upgrade {{1.1.10}}`
|
||||
|
||||
- Upgrade using a specific installation method:
|
||||
|
||||
`opencode upgrade {{[-m|--method]}} {{curl|npm|pnpm|bun|brew|choco|scoop}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`opencode upgrade {{[-h|--help]}}`
|
||||
Reference in New Issue
Block a user