[BUG] Windows: Claude Code exits silently with spawn-rx errors on v2.0.76

Resolved 💬 3 comments Opened Jan 4, 2026 by khs72005062-debug Closed Jan 7, 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?

Environment

  • OS: Windows 11
  • Claude Code version: 2.0.76
  • Node.js: v24.x (Windows), v24.11.0 (WSL)
  • Installation: npm global

Problem

Claude Code exits silently without any output on Windows PowerShell.
Running claude, claude -p "hello", or claude --dangerously-skip-permissions all exit immediately with no response.

Debug log shows:

spawn-rx Failed to find executable anywhere in path

(repeated 18 times)

What I tried:

  • Added Git, ripgrep, fd to PATH
  • Reinstalled Claude Code
  • Different versions (2.0.76, 2.0.50)

Workaround:

Works perfectly in WSL (Ubuntu). Same machine, same project folder.

Expected behavior:

Claude Code should work on Windows as documented.

What Should Happen?

Environment

  • OS: Windows 11
  • Claude Code version: 2.0.76
  • Node.js: v24.x (Windows), v24.11.0 (WSL)
  • Installation: npm global

Problem

Claude Code exits silently without any output on Windows PowerShell.
Running claude, claude -p "hello", or claude --dangerously-skip-permissions all exit immediately with no response.

Debug log shows:

spawn-rx Failed to find executable anywhere in path

(repeated 18 times)

What I tried:

  • Added Git, ripgrep, fd to PATH
  • Reinstalled Claude Code
  • Different versions (2.0.76, 2.0.50)

Workaround:

Works perfectly in WSL (Ubuntu). Same machine, same project folder.

Expected behavior:

Claude Code should work on Windows as documented.

Error Messages/Logs

## Environment
- OS: Windows 11
- Claude Code version: 2.0.76
- Node.js: v24.x (Windows), v24.11.0 (WSL)
- Installation: npm global

## Problem
Claude Code exits silently without any output on Windows PowerShell.
Running `claude`, `claude -p "hello"`, or `claude --dangerously-skip-permissions` all exit immediately with no response.

## Debug log shows:

spawn-rx Failed to find executable anywhere in path

(repeated 18 times)

## What I tried:
- Added Git, ripgrep, fd to PATH
- Reinstalled Claude Code
- Different versions (2.0.76, 2.0.50)

## Workaround:
Works perfectly in WSL (Ubuntu). Same machine, same project folder.

## Expected behavior:
Claude Code should work on Windows as documented.

Steps to Reproduce

Environment

  • OS: Windows 11
  • Claude Code version: 2.0.76
  • Node.js: v24.x (Windows), v24.11.0 (WSL)
  • Installation: npm global

Problem

Claude Code exits silently without any output on Windows PowerShell.
Running claude, claude -p "hello", or claude --dangerously-skip-permissions all exit immediately with no response.

Debug log shows:

spawn-rx Failed to find executable anywhere in path

(repeated 18 times)

What I tried:

  • Added Git, ripgrep, fd to PATH
  • Reinstalled Claude Code
  • Different versions (2.0.76, 2.0.50)

Workaround:

Works perfectly in WSL (Ubuntu). Same machine, same project folder.

Expected behavior:

Claude Code should work on Windows as documented.

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

Claude Code is up to date (2.0.76)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

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