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
[FEATURE]: Opencode2 should automatically update in the background #48622
Thanks for the suggestion! You're asking for OpenCode v2 to check for updates on its own and install them in the background, without interrupting what you're doing.
Most of this already works if you opt in. OpenCode checks for updates in the background (at startup, then every 10 minutes). By default it only shows a notice ("notify"). To have it install updates on its own without opening the /update dialog, set this in your global config (project-level values are ignored):
{
"update": "auto"
}
(The older "autoupdate": true setting maps to the same thing.) One caveat: an automatic install doesn't restart OpenCode that's already running. The new version takes effect the next time you start it or restart the server.
The rest of your request, such as auto-install being the default, or the manual /update not blocking the UI while it installs, is something the maintainers will consider. I can't promise anything.
Activity
opencodejr commentedon Oct 28, 2026
Thanks for the suggestion! You're asking for OpenCode v2 to check for updates on its own and install them in the background, without interrupting what you're doing.
Most of this already works if you opt in. OpenCode checks for updates in the background (at startup, then every 10 minutes). By default it only shows a notice (
"notify"). To have it install updates on its own without opening the/updatedialog, set this in your global config (project-level values are ignored):{ "update": "auto" }(The older
"autoupdate": truesetting maps to the same thing.) One caveat: an automatic install doesn't restart OpenCode that's already running. The new version takes effect the next time you start it or restart the server.The rest of your request, such as auto-install being the default, or the manual
/updatenot blocking the UI while it installs, is something the maintainers will consider. I can't promise anything.Related issues: