Skip to content

Installer rejects windows-arm64 despite publishing that binary #44664

Closed

Description

@harshil-mistry

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

Activity

  1. MilkyWay008 commented on Aug 24, 2026

    @MilkyWay008

    The Unsupported OS/Arch: windows/arm64 reject comes from the install script's arch allowlist, it simply never lists windows-arm64 even though detection maps aarch64 to arm64 and the release ships opencode-windows-arm64.zip. Until the allowlist gets the extra entry, manual install is a one-liner: grab https://github.com/anomalyco/opencode/releases/latest/download/opencode-windows-arm64.zip, unzip it, and drop opencode.exe somewhere on PATH, upgrade afterwards re-runs the same script so that stays manual too for now.

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