[BUG] Install - Claude Code on Windows requires git-bash - after git installed and Path added to Env
Resolved 💬 7 comments Opened Feb 13, 2026 by MaikAtAlmato Closed Apr 6, 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?
With the installation of claude via powershell, the install doesnt work and produces a error message:
Claude Code on Windows requires git-bash
I've installed git with different versions, different settings, nothing changed. Also I added and removed environemnt variables serveral times and tried many combinations. The error still exists.
What Should Happen?
After install of git, the error shouldn't persist.
Error Messages/Logs
irm https://claude.ai/install.ps1 | iex
Setting up Claude Code...
Claude Code on Windows requires git-bash (https://git-scm.com/downloads/win). If installed but not in PATH, set environment variable pointing to your bash.exe, similar to: CLAUDE_CODE_GIT_BASH_PATH=C:\Program Files\Git\bin\bash.exe
Steps to Reproduce
- install git
- install claude with powershell
Claude Model
None
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.41
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
PowerShell
Additional Information
_No response_
This issue has 7 comments on GitHub. Read the full discussion on GitHub ↗