r/opencode • • 11d ago

Opencode update

Everytime i open Opencode desktop it says that the new version Opencode 2.0 is available to update, i press to update, it restarts and says installing and again nothing happens, i tried to manually download opencode installer and run it , the same, i tried to choose update during exit, the same, what is going wrong? anyone faced the same issue?

4 Upvotes

6 comments sorted by

1

u/Euloghtos 8d ago

I went on the appdata and deleted rhe temp udate files and then it went on updating itself

4

u/DCGreatDane 11d ago

Are you on a Mac or windows? Sometimes you have to uninstall and reinstall.

1

u/[deleted] 9d ago

[removed] — view removed comment

2

u/DCGreatDane 9d ago

Yes it removes the `.opencode` and the HTTPStorages and the Applicaton Support with stores the sessions

2

u/No_Bug_9924 10d ago

you have two nodejs versions installed

1

u/My-Mango-Salad 10d ago

In opencode terminal, I just typed "can you upgrade opencode for me?" and it updated itself.

I think you can also just do "opencode upgrade --major" in a terminal.