claude-code - 💡(How to fix) Fix Illegal Instruction crash on CPUs without AVX since v2.1.113

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…

Starting from version 2.1.113, claude crashes immediately with Illegal instruction (core dumped) on CPUs that lack AVX support. Versions up to 2.1.112 work correctly.

Error Message

Claude Code should work on x86_64 CPUs without AVX instruction set, or at minimum provide a clear error message instead of crashing.

Root Cause

Starting from version 2.1.113, claude crashes immediately with Illegal instruction (core dumped) on CPUs that lack AVX support. Versions up to 2.1.112 work correctly.

Fix Action

Workaround

Pin to the last working version:

npm install -g @anthropic-ai/[email protected]

Code Example

npm install -g @anthropic-ai/claude-code@2.1.112
RAW_BUFFERClick to expand / collapse

Description

Starting from version 2.1.113, claude crashes immediately with Illegal instruction (core dumped) on CPUs that lack AVX support. Versions up to 2.1.112 work correctly.

Steps to Reproduce

  1. Install Claude Code >= 2.1.113 on a system with a CPU without AVX instructions
  2. Run claude --version
  3. Observe: Illegal instruction (core dumped)

Binary Search Results

VersionStatus
2.1.112✅ works
2.1.113❌ crash
2.1.114❌ crash
2.1.116❌ crash
2.1.120❌ crash
2.1.156 (latest)❌ crash

The regression was introduced in 2.1.113.

Environment

  • CPU: AMD Phenom II X4 955 (no AVX, no AVX2, no SSE4.2)
  • OS: Linux Mint 22.2
  • Kernel: 6.17.0-29-generic
  • Node.js: v22.22.0
  • Arch: x86_64

Expected Behavior

Claude Code should work on x86_64 CPUs without AVX instruction set, or at minimum provide a clear error message instead of crashing.

Workaround

Pin to the last working version:

npm install -g @anthropic-ai/[email protected]

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

claude-code - 💡(How to fix) Fix Illegal Instruction crash on CPUs without AVX since v2.1.113