[BUG] Brew cask installs x86 version on Apple Silicon (M4) Mac

Resolved 💬 3 comments Opened May 13, 2026 by senzhu Closed May 16, 2026

Preflight Checklist

  • [ ] I have searched existing issues and this hasn't been reported yet
  • [ ] 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?

I am using a Mac with the M4 chip (Apple Silicon). When I install Claude Code using the Homebrew cask command, it installs the x86 (Intel) version instead of the native ARM64 version.

What Should Happen?

It should automatically detect the Apple Silicon architecture and install the native ARM64 version.

Error Messages/Logs

Steps to Reproduce

To Reproduce
Steps to reproduce the behavior:
Use a Mac with an M4 chip.
Run the command: brew install --cask claude-code@latest
Check the installed binary architecture.

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.140

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

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