Skip to content

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

@khs72005062-debug

Description

@khs72005062-debug

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?

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions