Skip to content

Opencode fails to start after autoupdate on Windows #13335

Closed

Description

@tnglemongrass

Description

Upgrading vom 1.1.60 to 1.1.61 via autoupdate: true breaks the installed opencode.

Steps:

  1. open opencode.cmd (built-in Windows terminal app)
  2. noticing in terminal title that something is going on 'npm upgrade to 1.1.61' or similar
  3. exit via ctrl-c
  4. open opencode.cmd again

Expected behavior:
opencode should start

Actual Behavior:
opencode.cmd fails to start, terminal shows first EBUSY, then package manager failed to install the right version:

PS C:\tmp> opencode.cmd
PS C:\tmp> opencode.cmd
spawnSync C:\Users\tnglemongrass\AppData\Roaming\npm\node_modules\opencode-ai\node_modules\opencode-windows-x64\bin\opencode.exe EBUSY
PS C:\tmp> opencode.cmd
It seems that your package manager failed to install the right version of the opencode CLI for your platform. You can try manually installing the "opencode-windows-x64" package

I already tried to upgrade this morning to 1.1.60 via opencode.cmd upgrade, and it broke installation as well.
That's why I did a full installation via npm install -g opencode-ai.

Plugins

No response

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

Windows 11

Terminal

builtin Windows Terminal app

Activity

  1. added
    bug
    on Feb 12, 2026
  2. github-actions commented on Feb 12, 2026

    @github-actions
    Contributor

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

    These issues all involve Windows installation/update failures with similar error signatures (EBUSY, EFAULT). If you're still experiencing this after a full reinstall, please let us know with any additional details.

  3. github-actions commented on Apr 14, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

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

Metadata

Metadata

Assignees

Labels

bugwindows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions