[Bug] Native installer on Surface Pro 13 (ARM64) defaults to win32-x64 and causes Segmentation Fault

Resolved 💬 2 comments Opened May 21, 2026 by cigoic Closed Jun 20, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Description

On a Surface Pro 13 (ARM64) running Windows 11, the native installation method incorrectly
installs the win32-x64 binary instead of the win32-arm64 version. This leads to frequent
Segmentation Fault (ACCESS_VIOLATION) crashes when running the claude command due to
emulation layer issues.

Environment info (from claude doctor)

  • Platform: win32-x64 (Incorrectly detected on ARM64 device)
  • Path: C:\Users\liang\.local\bin\claude.exe
  • Config install method: native
  • Commit: c900a8c71aa9
  • Stable version: 2.1.140

What Should Happen?

Entering Claude Code CLI interface.

Error Messages/Logs

Steps to Reproduce

  1. Use a Windows ARM64 device (e.g., Surface Pro 13 with Snapdragon X Elite).
  2. Install via the native PowerShell command.
  3. Run claude.
  4. The CLI frequently crashes with a segmentation fault.

Expected Behavior

The installer should detect the ARM64 architecture and install the native win32-arm64 binary.

Claude Model

None

Is this a regression?

No, this never worked

Last Working Version

_No response_

Claude Code Version

2.1.140

Platform

Other

Operating System

Windows

Terminal/Shell

Other

Additional Information

Git bash on Windows

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗