Bundled Bun binary lacks AVX baseline support — crashes on non-AVX CPUs

Open 💬 10 comments Opened Mar 11, 2026 by murugan-ai

Problem

When launching Claude Code on a machine without AVX CPU support, the following warning appears:

warn: CPU lacks AVX support, strange crashes may occur. Reinstall Bun or use *-baseline build:
  https://github.com/oven-sh/bun/releases/download/bun-v1.3.11/bun-darwin-x64-baseline.zip

Claude Code bundles its own Bun binary internally (inside node_modules/@anthropic-ai/claude-code). Users cannot replace it with the baseline build because there is no exposed binary path to swap — the standard ~/.bun/bin/bun approach does not apply.

Environment

  • OS: macOS (Darwin 25.3.0, x64)
  • Claude Code installed via: npm install -g @anthropic-ai/claude-code
  • Node: v22.22.1 (via nvm)
  • CPU: Does not support AVX instructions

Expected behavior

Claude Code should ship with or auto-select the Bun baseline build on CPUs that lack AVX support, or at minimum document how users can replace the bundled binary.

Workaround

None available currently. The warning cannot be resolved by the user without access to the internal bundled Bun binary.

View original on GitHub ↗

This issue has 10 comments on GitHub. Read the full discussion on GitHub ↗