-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Description
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