Skip to content

make bun install work on Windows #3363

Closed

Description

@itsrainingmani

Currently, we are able to install opencode on Windows via npm install -g opencode-ai. But trying to install opencode via bun (bun install -g opencode-ai) and then running opencode results in the following error -

error: interpreter executable "/bin/sh" not found in %PATH%

Bun failed to remap this bin to its proper location within node_modules.
This is an indication of a corrupted node_modules directory.

This is probably due to how the current npm install script works by rebuilding the binary shims on Windows

Activity

  1. itsrainingmani commented on Oct 22, 2025

    @itsrainingmani
    ContributorAuthor
  2. github-actions commented on Oct 22, 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. RichardScottOZ commented on Oct 30, 2025

    @RichardScottOZ

    Yes, saw this today.

  4. self-assigned this
    on Nov 4, 2025
  5. added a commit that references this issue on Nov 13, 2025
    b5aced4
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