“Claude Code requires Git Bash” Error on Windows? Here's the Easy Fix
Encountering the "Claude Code on Windows requires git-bash" error when running `claude -v`? This article dives into the root cause—the tool's dependency on the Git Bash environment—and provides two clear solutions. The recommended permanent fix is to properly install Git for Windows and add it to your system's PATH. Alternatively, if Git is already installed, we show you how to set the `CLAUDE_CODE_GIT_BASH_PATH` environment variable. Follow this guide from wiki.lib00.com to resolve the issue quickly.