You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried upgrading my opencode from version from 1.0.49 to latest using opencode upgrade commad, it proceeds and completes the upgrade with a success message but fails to actually upgrade the version (opencode -v).
However upgrading using brew upgrade opencode works and updates the version successfully.
This behavior also happens to me.
Has always been an issue for me (was happening even in v0.15.31). So much so that I created an updater myself for the issue.
OpenCode version
1.0.49
Steps to reproduce
No response
Screenshot and/or share link
No response
Operating System
Omarchy Distro
Arch Linux
Build: rolling
Activity
[-]Upgrade not working[/-][+]brew upgrade not working[/+]CodingInCarhartts commentedon Nov 19, 2025
This behavior also happens to me.
Has always been an issue for me (was happening even in v0.15.31). So much so that I created an updater myself for the issue.
OpenCode version
1.0.49
Steps to reproduce
No response
Screenshot and/or share link
No response
Operating System
Omarchy Distro
Arch Linux
Build: rolling
Terminal
Kitty
opencode-updater master ❯ opencode upgrade 1.0.72
▄
█▀▀█ █▀▀█ █▀▀█ █▀▀▄ █▀▀▀ █▀▀█ █▀▀█ █▀▀█
█░░█ █░░█ █▀▀▀ █░░█ █░░░ █░░█ █░░█ █▀▀▀
▀▀▀▀ █▀▀▀ ▀▀▀▀ ▀ ▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀
┌ Upgrade
│
■ opencode is installed to /usr/bin/opencode and may be managed by a package manager
│
◇ Install anyways?
│ Yes
│
● Using method: unknown
│
● From 1.0.78 → 1.0.72
│
■ Upgrade failed
│
■ Unknown method: unknown
│
└ Done
opencode-updater master ❯ opencode upgrade
▄
█▀▀█ █▀▀█ █▀▀█ █▀▀▄ █▀▀▀ █▀▀█ █▀▀█ █▀▀█
█░░█ █░░█ █▀▀▀ █░░█ █░░░ █░░█ █░░█ █▀▀▀
▀▀▀▀ █▀▀▀ ▀▀▀▀ ▀ ▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀
┌ Upgrade
│
■ opencode is installed to /usr/bin/opencode and may be managed by a package manager
│
◇ Install anyways?
│ Yes
│
● Using method: unknown
│
● From 1.0.93 → 1.0.104
│
■ Upgrade failed
│
■ Unknown method: unknown
│
└ Done
vanyauhalin commentedon Nov 22, 2025
BAVhel commentedon Nov 25, 2025
mac, installed over brew
and after that one more time:
ajjaic commentedon Nov 27, 2025
Same here.
With
opencode upgrade:And then
opencode --versiongives me1.0.107BAVhel commentedon Nov 27, 2025
BAVhel commentedon Nov 27, 2025
workaround #4777 (comment)
rekram1-node commentedon Dec 3, 2025
fixed the version checking:
e2e2b79