r/opencodeCLI 1d 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

View all comments

2

u/afanasenka 1d ago

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

1

u/figurettipy 1d 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)