Skip to content

On Windows, npm i -g opencode-ai@latest does not install a usable CLI binary. #25950

Closed

Description

@CodingDjz

Question

On Windows, npm i -g opencode-ai@latest does not install a usable CLI binary.

Environment:

OS: Windows
npm registry: https://registry.npmjs.org

What happens:

Run npm i -g opencode-ai@latest
The install appears to download/install opencode-windows-x64 or opencode-windows-x64-baseline
At the end of the install, the platform binary/package disappears
Running opencode -c fails with:

Activity

  1. github-actions commented on May 6, 2026

    @github-actions
    Contributor

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

    If your issue is distinct (e.g., install succeeds but binary disappears afterward rather than failing during postinstall), please add more details to clarify the difference.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions