Skip to content

windows version installed from pnpm does not work #4195

Closed

Description

@HeavySnowJakarta

Description

on cmd:

>opencode
The system cannot find the path specified.

on git bash:

$ opencode
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-win32-x64" package

on pwsh:

> opencode
&: C:\Users\bians\AppData\Local\pnpm\opencode.ps1:36
Line |
  36 |      & "/bin/sh$exe"  "$basedir/global/5/.pnpm/opencode-ai@1.0.55/node …
     |        ~~~~~~~~~~~~~
     | The term '/bin/sh.exe' is not recognized as a name of a cmdlet, function, script file, or executable program.
     | Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

it seemed to be seeking for sth like "/bin/sh" and failed, but it does not work with git bash either.

OpenCode version

1.0.55

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

windows 11 x64

Terminal

windows terminal

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Nov 11, 2025
  2. github-actions commented on Nov 11, 2025

    @github-actions
    Contributor

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

    Feel free to ignore if none of these address your specific case.

  3. HeavySnowJakarta commented on Nov 12, 2025

    @HeavySnowJakarta
    Author

    Same exact error message about package manager failing to install the right version for Windows platform, suggesting manual installation of "opencode-windows-x64" package

    not exactly. i can't even see this msg unless using a posix compatible shell (git bash)

  4. self-assigned this
    on Nov 12, 2025
  5. rekram1-node commented on Nov 12, 2025

    @rekram1-node
    Contributor

    will fix

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentui

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions