Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
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.

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… Hooks reference Claude Code CLI · in the page hooks …nstall [Git for Windows](https://git-scm.com/downloads/win), or set [`CLAUDE_CODE_GIT_BASH_PATH`](/docs/en/env-vars) if Git Bash is installed where Claude Code doesn't find it, then start a new sessio… Advanced setup Claude Code CLI · in the page setup …docs/en/settings.md): ```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…
Feedback