snippetbashTip
opencode upgrade — Upgrade OpenCode to the latest version or a specific version. More information: <https://opencode.ai
Viewed 0 times
upgradeopencodethecommandlatestcliopencode upgradeversion
Problem
How to use the
opencode upgrade command: Upgrade OpenCode to the latest version or a specific version. More information: <https://opencode.ai/docs/cli#upgrade>.Solution
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 upgradeUpgrade/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]}}Code Snippets
Upgrade to the latest version
opencode upgradeUpgrade/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]}}Context
tldr-pages: common/opencode upgrade
Revisions (0)
No revisions yet.