Skip to content

Windows cannot use OpenCode, displaying an error message. #7631

Closed as not planned

Description

@Yu-jq

Description

I'm using Windows. I previously installed OpenCode using npm, but after the update, typing "opencode" in the command prompt (cmd) shows it cannot be found. I thought it was an environment issue, so I uninstalled it and tried to install it using bun add -g opencode-ai. However, it stopped working during the installation process, displaying the following error message.

Image

Plugins

No response

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Activity

  1. github-actions commented on Jan 10, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues or related to broader Windows installation problems. Please check:

    This appears to be part of a larger Windows installation/package resolution issue affecting multiple installation methods (npm, bun, chocolatey, winget).

    Feel free to ignore if your specific case differs from these.

  2. cherish-ltt commented on Jan 10, 2026

    @cherish-ltt

    I'm like you, it's said that it's because I installed terminal beautification or some plugin

  3. Yu-jq commented on Jan 10, 2026

    @Yu-jq
    Author

    It shouldn't be; I didn't have this problem in the previous version.

  4. cherish-ltt commented on Jan 10, 2026

    @cherish-ltt
  5. Yu-jq commented on Jan 10, 2026

    @Yu-jq
    Author

    I know the problem is caused by a Claude skill, but it works fine in Claude, only in OpenCode where it shows an incorrect YAML file.

  6. cherish-ltt commented on Jan 10, 2026

    @cherish-ltt

    @Yu-jq I used claude before and had many skills. My terminal also installed the starship beautification tool

  7. github-actions commented on Mar 25, 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

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions