False 'requires git' warning on startup despite git being installed

Resolved 💬 3 comments Opened Feb 1, 2026 by cybertimewarp Closed Feb 5, 2026

Description

On startup, Claude Code displays the notification:

Anthropic marketplace requires git · Install git and restart

However, git is installed and functional on the system.

Environment

  • OS: Linux (Ubuntu-based, kernel 6.14.0-37-generic)
  • Installation method: curl -fsSL https://claude.ai/install.sh | bash
  • Claude Code version: 2.1.29
  • Git version: 2.43.0
  • Git location: /usr/bin/git

Evidence

Git is correctly installed and in PATH:

$ which git
/usr/bin/git

$ git --version
git version 2.43.0

$ echo $PATH
/home/user/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:...

The marketplace plugins were actually cloned successfully using git:

$ ls -la ~/.claude/plugins/marketplaces/claude-code-plugins/.git
drwxrwxr-x 8 user user 4096 Feb 1 04:39 .

Debug logs show:

[DEBUG] Official marketplace auto-install skipped: git_unavailable
[DEBUG] Showing marketplace git unavailable notification

Expected Behavior

Claude Code should detect that git is available and not show the warning.

Actual Behavior

The warning is shown on every startup, even though:

  1. Git is installed and in PATH
  2. The marketplace repos were successfully cloned (proving git works)
  3. All plugins function correctly

Hypothesis

The curl-based installation may be running the git availability check in a restricted environment or before PATH is fully resolved, causing the false negative.

---
🤖 Generated with Claude Code

View original on GitHub ↗

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