GeezerVison is showing github.com — "Restart to update" always pops up, even after restarting · Issue #1233 · anomalyco/opencode
"Restart to update" always pops up, even after restarting #1233Description
I'm using Ghostty on MacOS. I tried /exit and then reopening multiple times, and even killed my terminal and opened a new one. This still pops up every time. opencode -v gives me 0.1.140, so maybe I'm just on such an old version that I can't auto-update? If so, the popup should tell me to reinstall instead. ActivityChaseRensberger commented on Jul 23, 2025 I would assume the update is failing. Based on this code it in theory shouldn't show the banner on a failure:
await Installation.upgrade(method, latest)
.then(() => {
Bus.publish(Installation.Event.Updated, { version: latest })
})
.catch(() => {})
which makes me think the issue is with the upgrade method:
export async function upgrade(method: Method, target: string) {
const cmd = (() => {
switch (method) {
case "curl":
return $`curl -fsSL https://opencode.ai/install | bash`.env({
...process.env,
VERSION: target,
})
case "npm":
return $`npm install -g opencode-ai@${target}`
case "pnpm":
return $`pnpm install -g opencode-ai@${target}`
case "bun":
return $`bun install -g opencode-ai@${target}`
case "brew":
return $`brew install sst/tap/opencode`.env({
HOMEBREW_NO_AUTO_UPDATE: "1",
})
default:
throw new Error(`Unknown method: ${method}`)
}
})()
How have you installed opencode? Have you tried a clean reinstall? tylerlaprade commented on Jul 23, 2025 I manually updated with brew, but of course now there's no newer version available to trigger the banner. We'll see what happens with the banner once a new version is released. thdxr commented on Jul 23, 2025 seems like brew is failing silently tylerlaprade commented on Jul 24, 2025 Confirmed it's still happening with the newer version
 rekram1-node commented on Dec 28, 2025 [automated] Closing due to 90+ days of inactivity. Feel free to reopen if you still need this! tylerlaprade commented on Jan 7, 2026 @rekram1-node, this still happens for me. I still have to manually update with Brew rekram1-node commented on Jan 7, 2026 github-actions commented on Mar 25, 2026 To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one. brandon-pereira commented on May 19, 2026 I had this too - ran brew update && brew upgrade opencode to fix it. Might not use brew to install this if its not fixed - would rather upgrade with the OpenCode CLI itself
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|