claude-code - 💡(How to fix) Fix [DOCS] Windows setup docs still say Git Bash is required despite PowerShell fallback [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#53068Fetched 2026-04-25 06:13:12
View on GitHub
Comments
0
Participants
1
Timeline
4
Reactions
0
Author
Participants
Timeline (top)
labeled ×4

Error Message

The troubleshooting guide treats the old startup error as a current install requirement: | https://code.claude.com/docs/en/terminal-guide | 65-80, 256-270 | Beginner Windows guide makes Git for Windows the first step and explains the git-bash error as missing Git |

Fix Action

Fix / Workaround

The troubleshooting and terminal-guide pages still treat "requires git-bash" as an actionable current failure that should be fixed by installing Git for Windows or setting CLAUDE_CODE_GIT_BASH_PATH. Users on v2.1.120+ may instead need guidance about PowerShell fallback, when Git for Windows remains useful, and how to choose or configure the preferred shell.

RAW_BUFFERClick to expand / collapse

Documentation Type

Incorrect/outdated documentation

Documentation Location

https://code.claude.com/docs/en/setup

Section/Topic

Windows setup requirements, native Windows shell behavior, and Git Bash troubleshooting

Current Documentation

The setup page currently says:

Shell: Bash, Zsh, PowerShell, or CMD. Native Windows setups require Git for Windows. WSL setups do not.

It repeats the requirement in the install instructions:

Native Windows setups require Git for Windows. Install it first if you don't have it. WSL setups do not need it.

The Windows setup table and native Windows section also say:

| Native Windows | Git for Windows | Not supported | Windows-native projects and tools |

After installation, launch claude from PowerShell, CMD, or Git Bash. Claude Code uses Git Bash internally to execute commands regardless of where you launched it. If Claude Code can't find your Git Bash installation, set the path in your settings.json file:

The PowerShell tool reference still lists this preview limitation:

  • On Windows, Git Bash is still required to start Claude Code

The troubleshooting guide treats the old startup error as a current install requirement:

Claude Code on native Windows needs Git for Windows, which includes Git Bash.

What's Wrong or Missing?

Changelog v2.1.120 says:

Windows: Git for Windows (Git Bash) is no longer required — when absent, Claude Code uses PowerShell as the shell tool

The current docs still describe Git for Windows/Git Bash as mandatory for native Windows startup and command execution. That is outdated after v2.1.120.

This leaves three concrete gaps:

A. Windows prerequisites are outdated

The setup and overview pages still tell users to install Git for Windows before using native Windows Claude Code, even though Claude Code can now fall back to PowerShell when Git Bash is absent.

B. Shell behavior is inaccurate

The setup page says Claude Code uses Git Bash internally "regardless of where you launched it." After v2.1.120, the docs should explain the actual selection behavior: use Git Bash when present/configured, otherwise use PowerShell as the shell tool.

C. Troubleshooting sends users to the wrong fix

The troubleshooting and terminal-guide pages still treat "requires git-bash" as an actionable current failure that should be fixed by installing Git for Windows or setting CLAUDE_CODE_GIT_BASH_PATH. Users on v2.1.120+ may instead need guidance about PowerShell fallback, when Git for Windows remains useful, and how to choose or configure the preferred shell.

Suggested Improvement

Update the Windows setup and troubleshooting docs to reflect the v2.1.120 behavior:

  1. Change the native Windows prerequisite from "requires Git for Windows" to "Git for Windows is optional unless you specifically want Git Bash or need Git itself for repository workflows."
  2. Explain the shell selection behavior for native Windows:
  • if Git Bash is installed or CLAUDE_CODE_GIT_BASH_PATH is configured, Claude Code can use Git Bash
  • if Git Bash is absent, Claude Code uses PowerShell as the shell tool
  • users can still configure PowerShell-specific behavior through the PowerShell tool settings
  1. Update the terminal guide so installing Git for Windows is not presented as an unconditional first step.
  2. Update the troubleshooting entry for Claude Code on Windows requires git-bash to clarify whether it only applies to older Claude Code versions or specific configurations.
  3. Remove "Git Bash is still required to start Claude Code" from the PowerShell tool limitations and replace it with current fallback behavior.

Impact

Medium - Makes feature difficult to understand

Additional Context

Affected Pages:

PageLine(s)Context
https://code.claude.com/docs/en/setup23, 62, 108, 112-128Primary setup page says native Windows requires Git for Windows and that Claude Code uses Git Bash internally regardless of launch shell
https://code.claude.com/docs/en/overview491-495, 677Install card and install instructions say Windows terminal setup requires Git for Windows
https://code.claude.com/docs/en/terminal-guide65-80, 256-270Beginner Windows guide makes Git for Windows the first step and explains the git-bash error as missing Git
https://code.claude.com/docs/en/troubleshooting27, 457-473Troubleshooting table and section direct users to install/configure Git Bash for native Windows
https://code.claude.com/docs/en/tools-reference98-132PowerShell tool docs say Git Bash is still required to start Claude Code
https://code.claude.com/docs/en/desktop-quickstart60Desktop local-session tip says Git must be installed on Windows for local sessions to work

Total scope: 6 pages affected

Source: Changelog v2.1.120

Exact changelog entry: Windows: Git for Windows (Git Bash) is no longer required — when absent, Claude Code uses PowerShell as the shell tool

extent analysis

TL;DR

Update the Windows setup and troubleshooting documentation to reflect the new behavior in v2.1.120, where Git for Windows is optional and Claude Code falls back to PowerShell when Git Bash is absent.

Guidance

  • Review the affected pages (setup, overview, terminal guide, troubleshooting, tools reference, and desktop quickstart) and update the native Windows prerequisites to indicate that Git for Windows is optional.
  • Explain the shell selection behavior for native Windows, including the use of Git Bash when installed or configured, and the fallback to PowerShell when Git Bash is absent.
  • Update the troubleshooting guide to reflect the current behavior and remove outdated information about Git Bash being required to start Claude Code.
  • Verify that the updates are accurate and consistent across all affected pages.

Example

No code snippet is necessary for this issue, as it is related to documentation updates.

Notes

The updates should be made to reflect the changes introduced in v2.1.120, and care should be taken to ensure that the documentation is accurate and consistent across all affected pages.

Recommendation

Apply the suggested improvements to update the documentation, as the current information is outdated and may cause confusion for users.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [DOCS] Windows setup docs still say Git Bash is required despite PowerShell fallback [1 participants]