Bash tool non-functional on Windows: no executables found in PATH
Resolved 💬 4 comments Opened Apr 9, 2026 by benf-innovatum Closed May 23, 2026
On Windows, the Bash tool in Claude Code spawns a shell where no executables are found — not Windows tools (cmd.exe, powershell.exe, gh.exe, where.exe), not Unix utilities (cat, find, etc.). Every command fails with "command not found". The tool is effectively non-functional on Windows.
Steps to reproduce:
- Run Claude Code on Windows
- Ask Claude to execute any shell command via the Bash tool
- Observe:
/usr/bin/bash: line 1: <command>: command not found
Expected: The Bash tool should work on Windows, either by using a shell with a proper PATH (e.g. Git Bash with system PATH, PowerShell, or cmd) or by documenting clearly that it is unsupported on Windows.
Environment: Windows 10 Pro, Claude Code native (not WSL)
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗