OmniscioGuidesIllegal instruction
Claude Code: Illegal instruction
Claude Code ships a native binary, so it runs directly on your CPU instead of on a JavaScript runtime. That is why the instructions it was compiled with decide whether it starts on your machine.
Last checked against Anthropic's documentation on November 25, 2026. By the Omniscio team. Updated .
What is the exact message?
Illegal instructionAnthropic's install troubleshooting page gives the wording as Illegal instruction, printed when you run claude or when the installer runs. Your shell may add its own ending to the line, such as (core dumped); the two words at the start are the message.
When it comes from claude, it arrives instead of a prompt, so the program was stopped before a session existed.
The status it leaves behind tells you the same thing. On most shells, echo $? straight after the crash prints 132, which is 128 plus signal 4, the signal the system uses for this fault. A memory kill reports 137 instead, so the number separates the two.
What does it mean?
The native binary contains machine instructions compiled for a particular processor family. When it reaches one your processor does not implement, the operating system stops the program and the shell reports Illegal instruction.
Anthropic names two distinct causes, and they need different checks: an architecture mismatch, where the installer downloaded the wrong binary, and a missing instruction set, where the binary matches the architecture but the processor lacks something it needs.
Anthropic lists x64 or ARM64 processors as supported hardware on its setup page. That list is about architecture, and it is not a promise about age: Anthropic's install troubleshooting page says the missing-instruction cause affects roughly pre-2013 Intel and AMD processors, which are x64 machines inside the supported set.
Cause 1: the wrong architecture's binary
The installer downloaded a binary for a different processor family — Anthropic's example is an x86 binary on an ARM server. The machine is fine; the wrong file is on it.
Check what your machine is, then check the file you were given:
uname -mprints the architecture on macOS and Linux —arm64,aarch64,x86_64and so on.- On Windows,
$env:PROCESSOR_ARCHITECTUREin PowerShell prints the same kind of answer. - The file itself:
file "$(command -v claude)"prints the machine a binary was built for, in words such asx86-64orARM aarch64.
If the two do not match, Anthropic's instruction is to open a GitHub issue on the Claude Code repository with that output.
Cause 2: the CPU lacks AVX
If the architecture is right and the message still appears, your CPU likely lacks AVX or another instruction the binary requires. Anthropic says this affects roughly pre-2013 Intel and AMD processors, and virtual machines whose hypervisor does not pass AVX through to the guest.
On a VPS or a virtual machine, one command settles it:
grep -m1 -ow avx /proc/cpuinfoAn empty result means AVX is not available to the guest, which is Anthropic's second cause. A line that prints avx rules out that variant, and only that variant: Anthropic's wording is "AVX or another instruction the binary requires", so a processor with AVX can still lack something else. If the architecture also matches, neither check has found it, and the next step is the report below rather than another reinstall.
The file the command reads, /proc/cpuinfo, is Linux's. Anthropic gives this check for a VPS or a virtual machine, where the hypervisor does not pass AVX through to the guest, and documents no equivalent check for macOS or Windows; on those, the same question goes to the processor's specification.
What can I do about it?
Anthropic's own answer is that there is no native-binary workaround. Once you know which cause you have, the page's next step is to report it and follow the issue Anthropic tracks for it, rather than to look for a flag.
- Get the CPU model, to report it. On Linux,
grep -m1 "model name" /proc/cpuinfo. On macOS,sysctl -n machdep.cpu.brand_string. Anthropic asks for that line when you report the problem. - File the report Anthropic asks for. A wrong-architecture binary and an instruction neither check found are both reporting cases: open an issue on the Claude Code repository with the architecture output and the CPU model.
- Read the issue the page names. Anthropic points at issue #50384 for the status of this crash. It is closed as not planned, so nothing is queued for it, and a reinstall will not change the answer.
- Change the host, not the install. For a missing AVX instruction the machine is the whole answer: a processor that has the instruction set, or a guest the hypervisor passes it through to. On a VPS that is your provider's plan and CPU configuration, so ask them whether AVX reaches the guest.
What does not help
- Installing with npm, Homebrew or another method. Anthropic states that alternative install methods download the same native binary and will not resolve either cause.
- Reinstalling, however many times. Every install method downloads the same native binary, so the same instruction is reached at the same point. A reinstall cannot change what the file was compiled to require.
- Looking for a compatibility flag. The page documents no flag or setting for this crash.
- Blaming your project or its dependencies. The binary is stopped on its own instructions, so no project has been read: the same command in an empty folder would reach the same instruction.
How do I know it is fixed?
claude --versionprints a version number instead of the message.claudeopens a session prompt, which means the binary got past startup.- On the same machine, the output of
uname -mnames the same architecturefilereports for the binary, orgrep -m1 -ow avx /proc/cpuinfoprints a line, so the cause you found is the one you addressed.
Where these answers come from
- Anthropic's install troubleshooting page, the Illegal instruction section, read November 25, 2026: the message, the two causes, the architecture and AVX checks, the absence of a workaround, the issue Anthropic tracks, and the CPU details to report.
- Anthropic's setup page, system requirements, read November 25, 2026: the supported processors.
- Issue #50384, the report Anthropic's page points at for status, read November 25, 2026: closed, with the reason recorded as not planned.
Common questions
What does Illegal instruction mean when I run claude?
The native binary was given a CPU instruction your processor does not implement, so the operating system stopped it. Anthropic names two causes: the installer downloaded the wrong architecture's binary, or the processor lacks an instruction the binary requires, most often AVX.
Will installing with npm or Homebrew get around it?
No. Anthropic states that alternative install methods download the same native binary, so they do not resolve either cause. Changing how you install does not change which instructions the binary needs.
How do I check whether my CPU has AVX?
On a VPS or virtual machine, run grep -m1 -ow avx /proc/cpuinfo. An empty result means AVX is not available to the guest, which is Anthropic's second cause. A line that prints avx rules out that variant only: the cause is "AVX or another instruction the binary requires", so check the architecture next with uname -m and file.
Is there a setting or flag that fixes Illegal instruction?
Anthropic documents no native-binary workaround. The processor either has the instruction or does not, so the page points you at the issue Anthropic tracks for this — closed as not planned — and at the CPU details to include in a report.