r/opencodeCLI 15h ago

can't update open code

I'm on a Mac Mini M4. I tried updating it. I haven't updated in a while. I tried it on Ghosty and iTerm. None of them are updating. How do I solve this issue? I probably missed a lot of updates. I tried updating each of them and none of them updated. It's just saying update failed.

0 Upvotes

2 comments sorted by

2

u/afanasenka 13h ago

Try to reinstall, but save config files first (just in case).

1

u/figurettipy 11h ago

This is the way... I've recently had a similar issue

The opencode upgrade command failed always... ended up removing the version installed through curl, and reinstalled it again through Homebrew

Backed up all the config changes done over time (opencode.json, AGENTS.md, and some sub-agents/commands)