Skip to content

Issues installing opencode-ai using bun #414

Closed

Description

@vicagbasi

PS C:\Windows\system32> bun install -g opencode-ai
bun add v1.2.17 (282dda62)
⚙️ opencode-ai [1/1] Failed to create opencode binary symlink: Could not find package opencode-win32-arm64: Cannot find module 'opencode-win32-arm64/package.json'
Require stack:

  • C:\Users\ikeag.bun\install\global\node_modules\opencode-ai\postinstall.mjs

error: postinstall script from "opencode-ai" exited with 1

Activity

  1. xHeaven commented on Jun 26, 2025

    @xHeaven
    Contributor

    Refer to the bottom of the README. Windows is not supported. Use WSL.

  2. self-assigned this
    on Jun 26, 2025
  3. thdxr commented on Jun 26, 2025

    @thdxr
    Member

    our windows install flow with npm/bun/etc isn't working right now. you can download the binary from releases though

  4. vicagbasi commented on Jun 30, 2025

    @vicagbasi
    Author

    no worries. got it working in my macOS environment

  5. added a commit that references this issue on Nov 1, 2025
    5d73a45
  6. added a commit that references this issue on May 12, 2026
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