You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support upgrading Winget-installed opencode #30026
On Windows, opencode installed with Winget is detected on PATH through the WinGet Links shim, but the upgrade method list does not include Winget. opencode upgrade and /global/upgrade therefore cannot route a Winget install to winget upgrade --id SST.opencode --exact.
Plugins
None
OpenCode version
1.15.12
Steps to reproduce
Install opencode with Winget: winget install --id SST.opencode --exact
Confirm where opencode resolves under Microsoft\WinGet\Links
This issue might be related to existing issues. Please check:
Windows: opencode upgrade fails to detect installation method (returns unknown) #17295: Windows upgrade fails to detect installation method (returns unknown) — covers the same upgrade detection area on Windows, though that issue focused on npm/.cmd wrappers and is now closed. Your report specifically about Winget not being in the supported upgrade method list is a distinct gap worth tracking separately.
PR #30025 implements winget upgrade detection and routing. This would solve the issue where opencode tries to use npm even when installed via winget. The PR has tests and passes typecheck. Would be great to see it reviewed and merged.
Activity
github-actions commentedon May 30, 2026
This issue might be related to existing issues. Please check:
JustSidus commentedon Jun 12, 2026
PR #30025 implements winget upgrade detection and routing. This would solve the issue where opencode tries to use npm even when installed via winget. The PR has tests and passes typecheck. Would be great to see it reviewed and merged.
github-actions commentedon Aug 12, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.