Options (2)
-m, --methodbooleanUpgrade using a specific installation method
Example:
opencode upgrade {{[-m|--method]}} {{curl|npm|pnpm|bun|brew|choco|scoop}}-h, --helpbooleanDisplay help
Example:
opencode upgrade {{[-h|--help]}}Examples (4)
Upgrade to the latest version
Upgrade/downgrade to a specific version
opencode upgrade 1.1.10Upgrade using a specific installation method
opencode upgrade [-m|--method] curl|npm|pnpm|bun|brew|choco|scoopDisplay help
opencode upgrade [-h|--help]made by @shridhargupta | data from tldr-pages