claude-code - 💡(How to fix) Fix [Bug] VS Code extension crashes with "illegal hardware instruction" on Intel Mac (no AVX2) [1 comments, 2 participants]

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…
GitHub stats
anthropics/claude-code#46208Fetched 2026-04-11 06:26:18
View on GitHub
Comments
1
Participants
2
Timeline
8
Reactions
0
Timeline (top)
labeled ×6closed ×1commented ×1

Error Message

Error Messages/Logs

Code Example

zsh: illegal hardware instruction   auth login
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

"Claude desktop app works on my Intel Mac Pro 2013, Codex VS Code extension works, but Claude Code VS Code extension throws illegal hardware instruction — AVX2 missing"

What Should Happen?

it runs in my env.

Error Messages/Logs

zsh: illegal hardware instruction   auth login

Steps to Reproduce

~/.vscode/extensions/anthropic.claude-code-2.1.100-darwin-x64/resources/native-binary/claude auth login

Claude Model

None

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

2.1.92 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

No response

extent analysis

TL;DR

The issue is likely due to the Claude Code VS Code extension requiring AVX2 instructions, which are not supported on the user's Intel Mac Pro 2013, and a workaround or update to a compatible version may be necessary.

Guidance

  • The error message "illegal hardware instruction — AVX2 missing" suggests that the Claude Code extension is attempting to use AVX2 instructions, which are not available on the user's hardware.
  • To verify the issue, try running the claude auth login command on a different machine with AVX2 support to see if the error persists.
  • Consider checking the system requirements for the Claude Code extension to see if it explicitly requires AVX2 support.
  • Look into potential workarounds, such as using a different version of the Claude Code extension that may not require AVX2 instructions.

Example

No code snippet is provided as the issue is related to hardware compatibility rather than code.

Notes

The user is using an older Mac Pro 2013, which may not support the latest instructions required by the Claude Code extension. The issue may be resolved by using a different version of the extension or updating to a newer machine with AVX2 support.

Recommendation

Apply workaround: The user should try to find a version of the Claude Code extension that does not require AVX2 instructions, or consider using a different machine with AVX2 support to run the extension.

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