Preflight Checklist
What's Wrong?
Starting from version 2.1.113, the CLI crashes immediately with "Illegal instruction".
Version 2.1.112 works correctly in the same environment.
This regression appears to coincide with the change to spawning a native binary instead of running bundled JavaScript.
The issue is likely caused by the native binary requiring CPU instructions (e.g. AVX/AVX2) that are not available on older CPUs.
What Should Happen?
The CLI should start normally.
If the system CPU does not support required instructions, the CLI should:
- either provide a compatible baseline binary (no AVX requirement), or
- gracefully fall back to a compatible implementation instead of crashing.
Error Messages/Logs
Steps to Reproduce
-
Install latest version:
npm install -g @anthropic-ai/claude-code@2.1.113
-
Run:
claude --version
-
Observe crash:
Illegal instruction
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
2.1.112
Claude Code Version
2.1.113
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
VS Code integrated terminal
Additional Information
CPU:
AMD A4-3310MX APU (older CPU without AVX/AVX2 support)
Relevant CPU flags:
sse, sse2, sse4a (NO avx / avx2)
Environment:
- Running inside Docker container
- Node.js v24.13.0
- npm 11.6.2
Key observation:
Version 2.1.112 works correctly, but 2.1.113+ crashes immediately.
This strongly suggests the newly introduced native binary is compiled with CPU instructions not supported on older hardware.
Suggested fix:
- Provide a baseline x86_64 build without AVX requirements, or
- Detect CPU capabilities at runtime and provide a fallback
Preflight Checklist
What's Wrong?
Starting from version 2.1.113, the CLI crashes immediately with "Illegal instruction".
Version 2.1.112 works correctly in the same environment.
This regression appears to coincide with the change to spawning a native binary instead of running bundled JavaScript.
The issue is likely caused by the native binary requiring CPU instructions (e.g. AVX/AVX2) that are not available on older CPUs.
What Should Happen?
The CLI should start normally.
If the system CPU does not support required instructions, the CLI should:
Error Messages/Logs
Steps to Reproduce
Install latest version:
npm install -g @anthropic-ai/claude-code@2.1.113
Run:
claude --version
Observe crash:
Illegal instruction
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
2.1.112
Claude Code Version
2.1.113
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
VS Code integrated terminal
Additional Information
CPU:
AMD A4-3310MX APU (older CPU without AVX/AVX2 support)
Relevant CPU flags:
sse, sse2, sse4a (NO avx / avx2)
Environment:
Key observation:
Version 2.1.112 works correctly, but 2.1.113+ crashes immediately.
This strongly suggests the newly introduced native binary is compiled with CPU instructions not supported on older hardware.
Suggested fix: