opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Stuck on version 109

Open Czaruno opened this issue 1 year ago • 5 comments

I think you should add instructions to the documentation on how to properly uninstall for the various OS. This way if someone is stuck on a version, they can start again.

Right now my version 109 won't upgrade on one of my machines. And an npm uninstall does not seem to work.

Any suggestions on how to start fresh? Maybe you can consider a '/doctor' CLI option which can perform a repair - the way Claude Code tries to?

Running on Mac OS Sonoma 14.7.6 (23H626) and just using the Mac OS Terminal.

Czaruno avatar Jun 25 '25 01:06 Czaruno

have you tried just running the npm install -g command again? it should install latest, and upgrades work on latest

adamdotdevin avatar Jun 25 '25 01:06 adamdotdevin

Try with the command which opencode, since it's just a binary you should delete that file.

cravenceiling avatar Jun 25 '25 01:06 cravenceiling

have you tried just running the npm install -g command again? it should install latest, and upgrades work on latest

Yes, I tried that a couple of times and it did not seem to perform the upgrade. Even the install script claims to install the latest, but 109 still runs. I will try just deleting the binary and installing again.

Czaruno avatar Jun 25 '25 01:06 Czaruno

Had the same issue on 108, had to delete the binary and reinstall opencode

einarno avatar Jun 25 '25 07:06 einarno

[automated] Closing due to 90+ days of inactivity. Feel free to reopen if you still need this!

rekram1-node avatar Dec 28 '25 01:12 rekram1-node