anomalyco / anomalyco/opencode

Installer rejects windows-arm64 despite publishing that binary

Open
#44,664 1 comment 0 reactions 1 assignee View on GitHub

@Hona is already working on this.

Since Aug 24, 2026.

Dominant language
TypeScript
Stars
209k
Forks
27.5k
Avg merge
7h 2m
Merged PRs (30d)
384

Description

Description

The installer rejects Windows ARM64 with Unsupported OS/Arch: windows/arm64, even though opencode-windows-arm64.zip is built, signed and published on every release.

The arch allowlist in install omits windows-arm64:

linux-x64|linux-arm64|darwin-x64|darwin-arm64|windows-x64)

The detection just above it already maps MINGW*/MSYS*/CYGWIN* to windows and aarch64 to arm64, so the correct combo is computed and then rejected by the allowlist.

Windows ARM64 is otherwise a first-class target: it is declared in packages/opencode/script/build.ts, and publish.yml signs it, verifies the signature, repacks it and uploads opencode-windows-arm64.zip.

This also blocks opencode upgrade for curl installs, since the upgrade path re-runs this same script.

Steps to reproduce
  1. On Windows ARM64, open Git Bash
  2. Run curl -fsSL https://opencode.ai/install | bash
  3. It exits with Unsupported OS/Arch: windows/arm64

I don't have ARM64 hardware, so I confirmed it from the script instead: the allowlist rejects windows-arm64, and the asset it would download returns HTTP 200 on the latest release.

Operating System

Windows 11 ARM64

Terminal

Git Bash

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.