[BUG] Installer installing wrong architecture on MacOS
Resolved 💬 3 comments Opened Mar 3, 2026 by Allybag Closed Mar 7, 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?
When I install on my M3 Max Macbook Pro it gives me an x86 executable, and then Claude sometimes runs into linker issues because it's looking for x86 libraries I don't have.
What Should Happen?
I should get the native Arm executable
Error Messages/Logs
ally@MacBag oddsbag % curl -fsSL https://claude.ai/install.sh | sh
Setting up Claude Code...
✔ Claude Code successfully installed!
Version: 2.1.63
Location: ~/.local/bin/claude
Next: Run claude --help to get started
⚠ Setup notes:
• Native installation exists but ~/.local/bin is not in your PATH. Run:
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc && source ~/.zshrc
✅ Installation complete!
ally@MacBag oddsbag % file ~/.local/bin/claude
/Users/ally/.local/bin/claude: Mach-O 64-bit executable x86_64
ally@MacBag oddsbag % uname -m
arm64
Steps to Reproduce
curl -fsSL https://claude.ai/install.sh | sh on a Macbook Pro
Claude Model
None
Is this a regression?
No, this never worked
Last Working Version
_No response_
Claude Code Version
2.1.63
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Other
Additional Information
I'm using Alacritty
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗