[BUG] Bun crashes with "CPU lacks AVX support. Please consider upgrading to a newer CPU."
Resolved 💬 14 comments Opened Jan 21, 2026 by S33G Closed Jan 22, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Bun crashes with error "CPU lacks AVX support. Please consider upgrading to a newer CPU when I run claude or the claude installer.
What Should Happen?
Claude should launch and allow me to prompt as normal
Error Messages/Logs
Setting up Claude Code...
Setting up launcher and shell integration...
============================================================
Bun v1.3.6 (d530ed99) Linux x64 (baseline)
Linux Kernel v6.1.0 | glibc v2.36
CPU: sse42 popcnt
Args: "/home/seeg/.claude/downloads/claude-2.1.15-linux-x64" "install"
Features: Bun.stderr(2) Bun.stdin(2) Bun.stdout(2) fetch(23) jsc no_avx2 no_avx spawn(7) standalone_executable
Builtins: "bun:main" "node:assert" "node:async_hooks" "node:buffer" "node:child_process" "node:constants" "node:crypto" "node:domain" "node:events" "node:fs" "node:fs/promises" "node:http" "node:https" "node:module" "node:net" "node:os" "node:path" "node:path/posix" "node:path/win32" "node:perf_hooks" "node:process" "node:querystring" "node:stream" "node:timers/promises" "node:tls" "node:tty" "node:url" "node:util" "node:zlib" "node:worker_threads" "undici" "ws" "node-fetch" "node:inspector" "node:http2" "node:diagnostics_channel"
Elapsed: 3524ms | User: 1592ms | Sys: 497ms
RSS: 1.21GB | Peak: 0.48GB | Commit: 1.21GB | Faults: 0 | Machine: 16.77GB
CPU lacks AVX support. Please consider upgrading to a newer CPU.
panic(main thread): Illegal instruction at address 0x4001FB4
oh no: Bun has crashed. This indicates a bug in Bun, not your code.
To send a redacted crash report to Bun's team,
please file a GitHub issue using the link below:
https://bun.report/1.3.6/B_1d530ed9GugogigD+kgP__s1nggEs1nggE____wyo1/D________msnt/DwujpiFA3Ao7vggE
bash: line 142: 752435 Illegal instruction "$binary_path" install ${TARGET:+"$TARGET"}
Steps to Reproduce
- run
claude
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.5
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
Terminal.app (macOS)
Additional Information
Proxmox VM (Debian) x86 host CPU
This issue has 14 comments on GitHub. Read the full discussion on GitHub ↗