[BUG] Claude not able to launch shell in Windows
Resolved 💬 3 comments Opened Aug 29, 2025 by rocket-matt Closed Aug 29, 2025
Environment
- Platform (select one):
- [ ] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [X] Other: Claude Code
- Claude CLI version: 1.0.65
- Operating System: Windows 11
- Terminal: Wezterm running Git Bash
Bug Description
I launch Claude Code inside a Git Bash session with the SHELL variable set to the bash.exe in my Scoop shims folder. Claude Code is unable to find a suitable shell. Additionally, it doesn't work in VS Code either.
Steps to Reproduce
- Run Git Bash and ensure SHELL environment variable is set
- Run
$SHELLto ensure that the environment variable is correct - Run claude code and ask it to echo something
Expected Behavior
To run commands within a shell
Actual Behavior
An error occurs: Error: No suitable shell found. Claude CLI requires a Posix shell environment. Please ensure you have a valid shell installed and the SHELL environment variable set.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗