[FEATURE]: Add Windows arm64 support #2872

Open
opened 2026-02-16 17:37:37 -05:00 by yindo · 17 comments
Owner

Originally created by @LayZeeDK on GitHub (Nov 14, 2025).

Originally assigned to: @rekram1-node on GitHub.

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

After installing OpenCode on Windows 11 Business arm64 using WinGet, Chocolatey, or npm install --global opencode-ai, the following error is output but no opencode-windows-arm64 npm package exists or is attached to a GitHub Release.

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-windows-arm64" package

Please add Windows arm64 support 🙇‍♂️

Originally created by @LayZeeDK on GitHub (Nov 14, 2025). Originally assigned to: @rekram1-node on GitHub. ### Feature hasn't been suggested before. - [x] I have verified this feature I'm about to request hasn't been suggested before. ### Describe the enhancement you want to request After installing OpenCode on Windows 11 Business arm64 using WinGet, Chocolatey, or `npm install --global opencode-ai`, the following error is output but no `opencode-windows-arm64` npm package exists or is attached to a GitHub Release. ``` 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-windows-arm64" package ``` Please add Windows arm64 support 🙇‍♂️
yindo added the windowsdiscussion labels 2026-02-16 17:37:37 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Nov 14, 2025):

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

  • #3002: Same error pattern for Windows x64 - "It seems that your package manager failed to install the right version of the opencode CLI for your platform"

Both issues report the same underlying problem with missing Windows platform-specific packages, just for different architectures (arm64 vs x64). This suggests a broader Windows platform support issue.

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

@github-actions[bot] commented on GitHub (Nov 14, 2025): This issue might be a duplicate of existing issues. Please check: - #3002: Same error pattern for Windows x64 - "It seems that your package manager failed to install the right version of the opencode CLI for your platform" Both issues report the same underlying problem with missing Windows platform-specific packages, just for different architectures (arm64 vs x64). This suggests a broader Windows platform support issue. Feel free to ignore if none of these address your specific case.
Author
Owner

@rekram1-node commented on GitHub (Nov 14, 2025):

Will do

@rekram1-node commented on GitHub (Nov 14, 2025): Will do
Author
Owner

@Volko61 commented on GitHub (Nov 15, 2025):

@rekram1-node You're the goat ! I don't use opencode just because there is no windows arm binaries

@Volko61 commented on GitHub (Nov 15, 2025): @rekram1-node You're the goat ! I don't use opencode just because there is no windows arm binaries
Author
Owner

@rekram1-node commented on GitHub (Nov 15, 2025):

I think this may be blocked by the upstream bun issue

Ref:

—target | Operating System | Architecture | Modern | Baseline | Libc
-- | -- | -- | -- | -- | --
bun-linux-x64 | Linux | x64 | ✅ | ✅ | glibc
bun-linux-arm64 | Linux | arm64 | ✅ | N/A | glibc
bun-windows-x64 | Windows | x64 | ✅ | ✅ | -
bun-windows-arm64 | Windows | arm64 | ❌ | ❌ | -
bun-darwin-x64 | macOS | x64 | ✅ | ✅ | -
bun-darwin-arm64 | macOS | arm64 | ✅ | N/A | -
bun-linux-x64-musl | Linux | x64 | ✅ | ✅ | musl
bun-linux-arm64-musl | Linux | arm64 | ✅ | N/A

So it likely wont be a simple fix

@rekram1-node commented on GitHub (Nov 15, 2025): I think this may be blocked by the upstream [bun issue ](https://github.com/oven-sh/bun/issues/9824) [Ref](https://bun.com/docs/bundler/executables#supported-targets): ``` —target | Operating System | Architecture | Modern | Baseline | Libc -- | -- | -- | -- | -- | -- bun-linux-x64 | Linux | x64 | ✅ | ✅ | glibc bun-linux-arm64 | Linux | arm64 | ✅ | N/A | glibc bun-windows-x64 | Windows | x64 | ✅ | ✅ | - bun-windows-arm64 | Windows | arm64 | ❌ | ❌ | - bun-darwin-x64 | macOS | x64 | ✅ | ✅ | - bun-darwin-arm64 | macOS | arm64 | ✅ | N/A | - bun-linux-x64-musl | Linux | x64 | ✅ | ✅ | musl bun-linux-arm64-musl | Linux | arm64 | ✅ | N/A ``` So it likely wont be a simple fix
Author
Owner

@thdxr commented on GitHub (Nov 17, 2025):

and it's even further upstream, webkit is the first thing to figure out
https://github.com/oven-sh/WebKit/pull/105

@thdxr commented on GitHub (Nov 17, 2025): and it's even further upstream, webkit is the first thing to figure out https://github.com/oven-sh/WebKit/pull/105
Author
Owner

@mickythompson commented on GitHub (Dec 27, 2025):

Anthropic, which now owns Bun, would prefer its Claude Code run natively on Windows arm64 instead of its current workaround (likely using emulation layers).

So here's to Anthropic helping Bun achieve Windows arm64 support, which in turn will help OpenCode achieve Windows arm64 support without requiring emulation layers.

@mickythompson commented on GitHub (Dec 27, 2025): Anthropic, which now owns Bun, would prefer its Claude Code run natively on Windows arm64 instead of its current workaround (likely using emulation layers). So here's to Anthropic helping Bun achieve Windows arm64 support, which in turn will help OpenCode achieve Windows arm64 support without requiring emulation layers.
Author
Owner

@adsharma commented on GitHub (Jan 3, 2026):

Any chance that we can install it with a different package manager? Lots of good holiday deals on Snapdragon laptops.

@adsharma commented on GitHub (Jan 3, 2026): Any chance that we can install it with a different package manager? Lots of good holiday deals on Snapdragon laptops.
Author
Owner

@rekram1-node commented on GitHub (Jan 3, 2026):

has nothing to do w package managers?

@rekram1-node commented on GitHub (Jan 3, 2026): has nothing to do w package managers?
Author
Owner

@adsharma commented on GitHub (Jan 3, 2026):

Right. Bun is a JavaScript runtime. Easy to get confused because of bun install ...

@adsharma commented on GitHub (Jan 3, 2026): Right. Bun is a JavaScript runtime. Easy to get confused because of `bun install ...`
Author
Owner

@khairm commented on GitHub (Jan 7, 2026):

Adding a specific bug report that shows the real-world impact of this issue:

TUI Crash on Snapdragon X Elite (Windows 11 ARM64)

Environment:

  • OS: Windows 11 ARM64 (Build 10.0.26200.7462)
    • Processor: Snapdragon X Elite - X1E80100 - Qualcomm Oryon CPU
      • OpenCode Version: 1.1.3 (via curl installer)
        • Binary: opencode-windows-x64.zip running under x64 emulation
          Issue:
          opencode auth login crashes with SIGSEGV (exit code 139) immediately after displaying the provider selection TUI. The crash is intermittent - sometimes works, mostly crashes. Tested across PowerShell, CMD, Windows Terminal, and Git Bash with the same result.

Root Cause:
I understand this is blocked upstream by Bun's lack of Windows ARM64 support (and further upstream by WebKit). The x64 binary running under Windows' emulation layer appears to have TUI rendering issues that cause segfaults.

Workaround Request:
While waiting for native ARM64 support, would it be possible to add a --provider flag for non-interactive auth? For example:

opencode auth login --provider anthropic

This would allow ARM64 users to bypass the TUI entirely and complete authentication even when the interactive menu crashes.

With Snapdragon laptops becoming more common (Surface Pro X, various Snapdragon X Elite devices), this workaround would help bridge the gap until upstream dependencies are resolved.

@khairm commented on GitHub (Jan 7, 2026): Adding a specific bug report that shows the real-world impact of this issue: ## TUI Crash on Snapdragon X Elite (Windows 11 ARM64) **Environment:** - OS: Windows 11 ARM64 (Build 10.0.26200.7462) - - Processor: Snapdragon X Elite - X1E80100 - Qualcomm Oryon CPU - - - OpenCode Version: 1.1.3 (via curl installer) - - - - Binary: `opencode-windows-x64.zip` running under x64 emulation **Issue:** `opencode auth login` crashes with SIGSEGV (exit code 139) immediately after displaying the provider selection TUI. The crash is intermittent - sometimes works, mostly crashes. Tested across PowerShell, CMD, Windows Terminal, and Git Bash with the same result. **Root Cause:** I understand this is blocked upstream by Bun's lack of Windows ARM64 support (and further upstream by WebKit). The x64 binary running under Windows' emulation layer appears to have TUI rendering issues that cause segfaults. **Workaround Request:** While waiting for native ARM64 support, would it be possible to add a `--provider` flag for non-interactive auth? For example: ``` opencode auth login --provider anthropic ``` This would allow ARM64 users to bypass the TUI entirely and complete authentication even when the interactive menu crashes. With Snapdragon laptops becoming more common (Surface Pro X, various Snapdragon X Elite devices), this workaround would help bridge the gap until upstream dependencies are resolved.
Author
Owner

@weichensw commented on GitHub (Jan 22, 2026):

Just adding a data point. I tried to use opencode 1.1.13 on a ARM64 Windows machine, without knowing the support is not available. After running opencode to bring out the TUI, it silently quits with no error. With --log-level DEBUG, the last log it writes is

INFO  2026-01-22T06:49:14 +0ms service=bun cmd=["C:\\.tools\\.npm-global\\node_modules\\opencode-ai\\node_modules\\opencode-windows-x64\\bin\\opencode.exe","install"]

I would guess it is trying to run a x64 bineary on arm64. The same version works as expected in a x64 machine.

@weichensw commented on GitHub (Jan 22, 2026): Just adding a data point. I tried to use opencode 1.1.13 on a ARM64 Windows machine, without knowing the support is not available. After running `opencode` to bring out the TUI, it silently quits with no error. With --log-level DEBUG, the last log it writes is ``` INFO 2026-01-22T06:49:14 +0ms service=bun cmd=["C:\\.tools\\.npm-global\\node_modules\\opencode-ai\\node_modules\\opencode-windows-x64\\bin\\opencode.exe","install"] ``` I would guess it is trying to run a x64 bineary on arm64. The same version works as expected in a x64 machine.
Author
Owner

@gxsshallot commented on GitHub (Jan 23, 2026):

wait for support + 1

@gxsshallot commented on GitHub (Jan 23, 2026): wait for support + 1
Author
Owner

@TianjinAI commented on GitHub (Jan 23, 2026):

+1

@TianjinAI commented on GitHub (Jan 23, 2026): +1
Author
Owner

@chaishah commented on GitHub (Jan 26, 2026):

+1

@chaishah commented on GitHub (Jan 26, 2026): +1
Author
Owner

@Numaphor commented on GitHub (Jan 30, 2026):

+1

@Numaphor commented on GitHub (Jan 30, 2026): +1
Author
Owner

@LayZeeDK commented on GitHub (Jan 30, 2026):

Thank you for helping highlight the importance of this issue, everyone. Please react to the original post to show your interest instead of adding +1 comments as they add noise to this thread, making it harder for maintainers and community members to catch up and get an overview of the situation.

@LayZeeDK commented on GitHub (Jan 30, 2026): Thank you for helping highlight the importance of this issue, everyone. Please react to the original post to show your interest instead of adding +1 comments as they add noise to this thread, making it harder for maintainers and community members to catch up and get an overview of the situation.
Author
Owner

@bold84 commented on GitHub (Feb 2, 2026):

and it's even further upstream, webkit is the first thing to figure out oven-sh/WebKit#105

I added support for Windows ARM64.

https://github.com/oven-sh/bun/pull/26677

Image
@bold84 commented on GitHub (Feb 2, 2026): > and it's even further upstream, webkit is the first thing to figure out [oven-sh/WebKit#105](https://github.com/oven-sh/WebKit/pull/105) I added support for Windows ARM64. https://github.com/oven-sh/bun/pull/26677 <img width="1070" height="244" alt="Image" src="https://github.com/user-attachments/assets/7dc88667-a375-4f14-ba0a-a3ef2d916cd4" />
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2872