[BUG] Desktop app on Windows: "No suitable shell found" despite SHELL env var set

Resolved 💬 3 comments Opened Mar 28, 2026 by woopsydoopsy Closed Apr 28, 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?

The Claude Code desktop app on Windows cannot run any Bash tool commands. Every command fails with "No suitable shell found. Claude CLI requires a Posix shell environment." This happens even with the SHELL environment variable set to C:\Program Files\Git\bin\bash.exe and Git Bash fully installed.

What Should Happen?

The desktop app should detect Git Bash and use it for Bash tool commands, like it does when launching Claude Code from within Git Bash.

Error Messages/Logs

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.

Steps to Reproduce

Install Claude Code desktop app on Windows 11
Have Git for Windows (Git Bash) installed
Update Claude Code to the latest version
Open the desktop app and open any project
Ask Claude to run any Bash command (e.g. git status)
Every command fails with "No suitable shell found"

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

 2.1.86

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Other

Additional Information

was working before yesterday evening before i clicked to update. and now today it doesnt work

View original on GitHub ↗

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