Preflight Checklist
What's Wrong?
Claude Code desktop app on macOS shows "Git is required for local sessions. Run xcode-select --install in Terminal to install the Command Line Tools, then restart the app" — but git is installed and fully functional.
System info:
$ which git
/usr/bin/git
$ /usr/bin/git --version
git version 2.50.1 (Apple Git-155)
$ arch -x86_64 /usr/bin/git --version
git version 2.50.1 (Apple Git-155)
$ xcode-select -p
/Library/Developer/CommandLineTools
Xcode Command Line Tools are installed. xcode-select --install confirms they're already present. softwareupdate shows no pending updates. Git works under both native ARM64 and Rosetta (x86_64).
What Should Happen?
Claude Code should detect git at /usr/bin/git and start normally.
Error Messages/Logs
Git is required for local sessions. Run xcode-select --install in Terminal to install the Command Line Tools, then restart the app.
Steps to Reproduce
- Open Claude Code desktop app on macOS
- Error appears: "Git is required for local sessions…"
- Verify git works in terminal (
/usr/bin/git --version → git version 2.50.1)
Claude Model
Not sure / Multiple models
Is this a regression?
Yes, this worked in a previous version
Last Working Version
No response
Claude Code Version
Claude 1.1.7203 (034f07) 2026-03-17T17:48:28.000Z
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
What I've Tried
- Quit and relaunched Claude Code (Cmd+Q)
sudo xcode-select --reset
- Removed and reinstalled Command Line Tools (
sudo rm -rf /Library/Developer/CommandLineTools + xcode-select --install)
- Launched from terminal via
open -a "Claude Code"
- Set GUI app PATH via
sudo launchctl config user path "/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/homebrew/bin" + reboot
- Reinstalled Claude Code
None of these resolved the issue.
Possibly Related
Preflight Checklist
What's Wrong?
Claude Code desktop app on macOS shows "Git is required for local sessions. Run
xcode-select --installin Terminal to install the Command Line Tools, then restart the app" — but git is installed and fully functional.System info:
Xcode Command Line Tools are installed.
xcode-select --installconfirms they're already present.softwareupdateshows no pending updates. Git works under both native ARM64 and Rosetta (x86_64).What Should Happen?
Claude Code should detect git at
/usr/bin/gitand start normally.Error Messages/Logs
Steps to Reproduce
/usr/bin/git --version→git version 2.50.1)Claude Model
Not sure / Multiple models
Is this a regression?
Yes, this worked in a previous version
Last Working Version
No response
Claude Code Version
Claude 1.1.7203 (034f07) 2026-03-17T17:48:28.000Z
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
What I've Tried
sudo xcode-select --resetsudo rm -rf /Library/Developer/CommandLineTools+xcode-select --install)open -a "Claude Code"sudo launchctl config user path "/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/homebrew/bin"+ rebootNone of these resolved the issue.
Possibly Related