← 返回命令列表

Linux command

opencode-upgrade 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Upgrade

opencode upgrade

说明

opencode upgrade updates the OpenCode installation to the latest available version. It downloads and replaces the current binary with the newest release, preserving existing configuration and session data.

FAQ

What is the opencode-upgrade command used for?

opencode upgrade updates the OpenCode installation to the latest available version. It downloads and replaces the current binary with the newest release, preserving existing configuration and session data.

How do I run a basic opencode-upgrade example?

Run `opencode upgrade` in a terminal, then adjust file names, paths, flags, or remote targets for your system.