Skip to content

[FEATURE]: Opencode2 should automatically update in the background #48622

Open

Description

@lambdasolver2

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Currently Opencode2 is not automatically updating and if i do it then it block everything.

Image

I would love if it is checking it automatically and do it in the background and then without interruption just itself updates

Activity

  1. opencodejr commented on Oct 28, 2026

    @opencodejr
    Contributor

    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.

    Related issues:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions