claude-code - 💡(How to fix) Fix [BUG] Claude Code doesn't install on Sequoia Mac Pro 2013. [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#47120Fetched 2026-04-13 05:40:55
View on GitHub
Comments
0
Participants
1
Timeline
5
Reactions
0
Participants
Timeline (top)
labeled ×5

Error Message

Installing claude code with curl command on Mac OS results in error message "Illegal instruction" while building.

Error Messages/Logs

Code Example

CLI output: 
`curl -fsSL https://claude.ai/install.sh | bash`
`Setting up Claude Code...`
`bash: line 151:  5976 Illegal instruction: 4  "$binary_path" install ${TARGET:+"$TARGET"}`

Homebrew also does not function.
RAW_BUFFERClick to expand / collapse

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)
  • I am using the latest version of Claude Code

What's Wrong?

Problem

Installing claude code with curl command on Mac OS results in error message "Illegal instruction" while building.

What Should Happen?

Claude code should install and setup.

Error Messages/Logs

CLI output: 
`curl -fsSL https://claude.ai/install.sh | bash`
`Setting up Claude Code...`
`bash: line 151:  5976 Illegal instruction: 4  "$binary_path" install ${TARGET:+"$TARGET"}`

Homebrew also does not function.

Steps to Reproduce

  1. Run curl command on a x86 Mac OS 15.7 machine.

Claude Model

None

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

can't get this

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

uname -m && uname -a
x86_64 Darwin Mac-Pro.local 24.6.0 Darwin Kernel Version 24.6.0: Fri Feb 27 19:33:24 PST 2026; root:xnu-11417.140.69.709.8~1/RELEASE_X86_64 x86_64

extent analysis

TL;DR

The "Illegal instruction" error while installing Claude Code with the curl command on Mac OS may be due to incompatibility with the x86_64 architecture, and a potential workaround could be to check the installation script for architecture-specific instructions.

Guidance

  • Verify that the installation script install.sh is compatible with the x86_64 architecture on Mac OS.
  • Check if there are any specific instructions or flags required for installing Claude Code on x86 Mac OS machines.
  • Consider reaching out to the maintainers of Claude Code to report the issue and ask for guidance on installing the software on x86 Mac OS.
  • If possible, try installing an earlier version of Claude Code to see if the issue is specific to the latest version.

Notes

The provided information does not include the version of Claude Code being installed, which could be relevant in troubleshooting the issue. Additionally, the fact that Homebrew also does not function may indicate a broader issue with the system configuration.

Recommendation

Apply workaround: The issue seems to be related to the installation script or the system architecture, so applying a workaround such as modifying the installation script or using a different installation method may be necessary.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING