[BUG] Claude Code Desktop MacOS can't find git , but git is installed

Resolved 💬 4 comments Opened Apr 29, 2026 by slavag Closed Jun 4, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

When Claude Code Desktop for MacOS is started (Claude 1.5354.0 (9a9e3d) 2026-04-29T01:14:34.000Z) is asking to install git, but git is installed. Started to happen with the last version.

What Should Happen?

Should not request for git installation if it's already installed

Error Messages/Logs

Install Git
Git is required to run local sessions. Run xcode-select --install in Terminal to install the Command Line Tools, or download Git directly — or switch to a remote environment.
-----
logs :
2026-04-29 20:10:01 [error] Git command failed: git --version { code: undefined, stderr: undefined, cwd: '/' }
2026-04-29 20:10:01 [error] [LocalSessionManager] Failed to check git status: Failed to spawn /Users/xxx/bin/git: spawn /Users/xxx/bin/git EACCES { stack: 'Error: Failed to spawn /Users/xxx/bin/git: spawn /Users/xxx/bin/git EACCES\n    at ChildProcess.<anonymous> (/Applications/Claude.app/Contents/Resources/app.asar/.vite/build/index.js:296:13438)\n    at ChildProcess.emit (node:events:521:24)\n    at ChildProcess._handle.onexit (node:internal/child_process:293:12)\n    at onErrorNT (node:internal/child_process:508:16)\n    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)' }

Steps to Reproduce

To start Claude Code Desktop app on mac

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

Claude 1.5354.0 (9a9e3d)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Warp

Additional Information

git --version
git version 2.50.1 (Apple Git-155)

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗