Not able to upgrade from 0.6.4 to 0.7.1 #1684

Closed
opened 2026-02-16 17:32:09 -05:00 by yindo · 4 comments
Owner

Originally created by @subu1979 on GitHub (Sep 11, 2025).

C:\Users\Admin>opencode upgrade

T Upgrade
█▀▀█ █▀▀█ █▀▀ █▀▀▄ █▀▀ █▀▀█ █▀▀▄ █▀▀
█░░█ █░░█ █▀▀ █░░█ █░░ █░░█ █░░█ █▀▀
▀▀▀▀ █▀▀▀ ▀▀▀ ▀ ▀ ▀▀▀ ▀▀▀▀ ▀▀▀ ▀▀▀|
• Using method: npm
|
• From 0.6.4 → 0.7.1
|
o Upgrade complete
|
— Done

C:\Users\Admin>opencode -v
0.6.4

C:\Users\Admin>

Originally created by @subu1979 on GitHub (Sep 11, 2025). C:\Users\Admin>opencode upgrade T Upgrade █▀▀█ █▀▀█ █▀▀ █▀▀▄ █▀▀ █▀▀█ █▀▀▄ █▀▀ █░░█ █░░█ █▀▀ █░░█ █░░ █░░█ █░░█ █▀▀ ▀▀▀▀ █▀▀▀ ▀▀▀ ▀ ▀ ▀▀▀ ▀▀▀▀ ▀▀▀ ▀▀▀| • Using method: npm | • From 0.6.4 → 0.7.1 | o Upgrade complete | — Done C:\Users\Admin>opencode -v 0.6.4 C:\Users\Admin>
yindo closed this issue 2026-02-16 17:32:09 -05:00
Author
Owner

@subu1979 commented on GitHub (Sep 11, 2025):

Even after restarting the terminnal, it simply shows 0.6.4

@subu1979 commented on GitHub (Sep 11, 2025): Even after restarting the terminnal, it simply shows 0.6.4
Author
Owner

@github-actions[bot] commented on GitHub (Sep 11, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #2527: Similar version-related issue where opencode 0.7.0 was showing incorrect version info and help text, indicating potential installation/upgrade problems
  • #2474: Regression bug between 0.5.xx and 0.6.xx versions that could be related to upgrade path issues
  • #2447: Windows installation issues that might affect upgrade process on Windows systems

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Sep 11, 2025): This issue might be a duplicate of existing issues. Please check: - #2527: Similar version-related issue where opencode 0.7.0 was showing incorrect version info and help text, indicating potential installation/upgrade problems - #2474: Regression bug between 0.5.xx and 0.6.xx versions that could be related to upgrade path issues - #2447: Windows installation issues that might affect upgrade process on Windows systems Feel free to ignore if none of these address your specific case.
Author
Owner

@subu1979 commented on GitHub (Sep 11, 2025):

Image

it says, restart to update, even after restart still getting old version

@subu1979 commented on GitHub (Sep 11, 2025): <img width="1908" height="1032" alt="Image" src="https://github.com/user-attachments/assets/70fdce7e-4a4d-49d9-b001-98ef324c3e42" /> it says, restart to update, even after restart still getting old version
Author
Owner

@subu1979 commented on GitHub (Sep 11, 2025):

C:\Users\Admin>
C:\Users\Admin>dir "%AppData%\npm\node_modules\opencode-ai\node_modules" /s /b | findstr opencode.exe
C:\Users\Admin\AppData\Roaming\npm\node_modules\opencode-ai\node_modules\opencode-windows-x64\bin\opencode.exe

C:\Users\Admin>copy "C:\Users\Admin\AppData\Roaming\npm\node_modules\opencode-ai\node_modules\opencode-windows-x64\bin\opencode.exe" "%AppData%\npm\opencode.exe"
1 file(s) copied.

C:\Users\Admin>opencode -v
0.7.1

C:\Users\Admin>

@subu1979 commented on GitHub (Sep 11, 2025): C:\Users\Admin> C:\Users\Admin>dir "%AppData%\npm\node_modules\opencode-ai\node_modules" /s /b | findstr opencode.exe C:\Users\Admin\AppData\Roaming\npm\node_modules\opencode-ai\node_modules\opencode-windows-x64\bin\opencode.exe C:\Users\Admin>copy "C:\Users\Admin\AppData\Roaming\npm\node_modules\opencode-ai\node_modules\opencode-windows-x64\bin\opencode.exe" "%AppData%\npm\opencode.exe" 1 file(s) copied. C:\Users\Admin>opencode -v 0.7.1 C:\Users\Admin>
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1684