Claude Code CLI and Desktop app both crash with exit code 3221225477 (0xC0000005) on Windows

Status Open
Reported on v2.1.111
Maintainer reply None cached
Activity 0 comments · opened Jul 23, 2026

Bug: Claude Code CLI and Desktop app both crash with exit code 3221225477 (0xC0000005) on Windows

Environment

  • OS: Windows 11 25H2, build 26200.8655, x64
  • Node.js: v24.18.0
  • Claude Code CLI: v2.1.218 (crashes) / v2.1.111 (works)
  • Claude Desktop app: 1.24012.0

Summary

Claude Code crashes immediately with exit code 3221225477 (0xC0000005, STATUS_ACCESS_VIOLATION) on this machine. This reproduces both from a plain terminal (CLI) and from the Claude Desktop app.

Steps to reproduce

  1. Install Claude Code CLI via npm install -g @anthropic-ai/claude-code (installs latest, v2.1.218 at time of testing).
  2. Run claude from PowerShell or cmd.exe.
  3. Process exits immediately with code 3221225477 (echo $LASTEXITCODE in PowerShell confirms -1073741819, the signed equivalent of 0xC0000005).

What I've tried

  • Confirmed Node.js is a supported version (v24.18.0, x64 -- matches architecture, not an ARM/x64 mismatch).
  • Downgraded the global CLI to v2.1.111: npm install -g @anthropic-ai/claude-code@2.1.111 -- this resolved the crash, claude --version and normal usage work fine on 2.1.111. This matches the regression window described in #50640 (introduced in v2.1.112, native binary, faulting module %6

View original on GitHub ↗