claude-code - 💡(How to fix) Fix [BUG] Claude Code v2.1.113+ fails on Intel Mac with 'Illegal instruction: 4'

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…

Error Message

Starting from v2.1.113, Claude Code crashes on Intel Mac with "Illegal instruction: 4" error, likely due to AVX2 requirement.

RAW_BUFFERClick to expand / collapse

Bug Description

Starting from v2.1.113, Claude Code crashes on Intel Mac with "Illegal instruction: 4" error, likely due to AVX2 requirement.

System Info

  • macOS on Intel Quad-Core i7 (x86_64)
  • Node.js v22.21.0
  • npm 10.9.4

Testing Results

VersionStatus
v2.0.76✅ Works
v2.1.112✅ Works (last compatible)
v2.1.113❌ Illegal instruction: 4
v2.1.143 (latest)❌ Fails

Expected Behavior

Claude Code should work on Intel Macs, or provide a compatible build.

Suggested Fix

Compile without AVX2 requirement: RUSTFLAGS="-C target-cpu=x86-64"

Related Issues

  • #5864 (closed, not planned)
  • #20435

Many developers still use Intel Macs. Being stuck on v2.1.112 means missing future updates and potentially new model support.

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