anomalyco / anomalyco/opencode
opencode2 upgrade cmd
Open
@nexxeln is already working on this.
Since Aug 16, 2026.
2.0
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
I believe there's no command for making opencode2 update itself to the latest version, but I don't think this is a propper ouput
~ took 2s
❯ opencode2 --version
opencode2 v0.0.0-next-17400
~
❯ opencode2 upgrade
[16:00:32.060] ERROR (#1): Error: ENOENT: no such file or directory, chdir '/home/xxx' -> 'upgrade'
at chdir (unknown)
at <anonymous> (src/commands/handlers/default.ts:17:51)
```
### Plugins
_No response_
### OpenCode version
_No response_
### Steps to reproduce
_No response_
### Screenshot and/or share link
_No response_
### Operating System
_No response_
### Terminal
_No response_
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.