Search the documentation
4 pages for claude_code_git_bash_path.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Claude Code changelog
Claude Code CLI · in the page
changelog
…tatus after a model switch, reconnect, or failed org check * Fixed `CLAUDE_CODE_GIT_BASH_PATH` on Windows exiting or being used as bash when the path isn't a bash/sh binary; it's now ignored with a…
Environment variables
Claude Code CLI · in the page
env-vars
…| | `CLAUDE_CODE_GIT_BASH_PATH` | Windows only: path to the Git Bash executable (`bash.exe`). Use when Git…
Advanced setup
Claude Code CLI · in the page
setup
…](/docs/en/settings): ```json theme={null} { "env": { "CLAUDE_CODE_GIT_BASH_PATH": "C:\\Program Files\\Git\\bin\\bash.exe" } } ``` When Git for Windows is installed, the PowerS…
Troubleshoot installation and login
Claude Code CLI · in the page
troubleshoot-install
…it, compare its location against the places Claude Code checks. When `CLAUDE_CODE_GIT_BASH_PATH` isn't set, Claude Code looks for `bash.exe` in this order: 1. The default install locations `C:\Progra…