[GH-ISSUE #339] Claude Code detection issues #115

Closed
opened 2026-03-02 04:11:56 +03:00 by kerem · 2 comments
Owner

Originally created by @dcramer on GitHub (Jan 9, 2026).
Original GitHub issue: https://github.com/git-ai-project/git-ai/issues/339

This is WSL linux, where i certainly swapped from early CC to native...

➜  ~/s/sentry (master) ✗ which claude
claude: aliased to /home/dcramer/.claude/local/claude
➜  ~/s/sentry (master) ✗ claude --version
2.1.2 (Claude Code)
➜  ~/s/sentry (oauth-device-flow) ✗ curl -sSL https://usegitai.com/install.sh | bash

Downloading git-ai (release: latest)...
Successfully installed git-ai into /home/dcramer/.git-ai/bin
You can now run 'git-ai' from your terminal
Installed git-ai 1.0.31
Setting up IDE/agent hooks...
✗ Claude code: Version check failed
  Error: Claude Code version 1.0 detected, but minimum version 2.0 is required
  Please update Claude Code to continue using git-ai hooks
✓ Cursor: Hooks updated

I need to look into where/how its trying to detect that, but def wrong.

Originally created by @dcramer on GitHub (Jan 9, 2026). Original GitHub issue: https://github.com/git-ai-project/git-ai/issues/339 This is WSL linux, where i certainly swapped from early CC to native... ``` ➜ ~/s/sentry (master) ✗ which claude claude: aliased to /home/dcramer/.claude/local/claude ➜ ~/s/sentry (master) ✗ claude --version 2.1.2 (Claude Code) ``` ``` ➜ ~/s/sentry (oauth-device-flow) ✗ curl -sSL https://usegitai.com/install.sh | bash Downloading git-ai (release: latest)... Successfully installed git-ai into /home/dcramer/.git-ai/bin You can now run 'git-ai' from your terminal Installed git-ai 1.0.31 Setting up IDE/agent hooks... ✗ Claude code: Version check failed Error: Claude Code version 1.0 detected, but minimum version 2.0 is required Please update Claude Code to continue using git-ai hooks ✓ Cursor: Hooks updated ``` I need to look into where/how its trying to detect that, but def wrong.
kerem closed this issue 2026-03-02 04:11:56 +03:00
Author
Owner

@dcramer commented on GitHub (Jan 9, 2026):

➜  ~/s/sentry (master) ✗ npm uninstall @anthropic-ai/claude-code -g
   note: using Volta to uninstall @anthropic-ai/claude-code
Removed executable 'claude' installed by '@anthropic-ai/claude-code'
success: package '@anthropic-ai/claude-code' uninstalled
➜  ~/s/sentry (master) ✗ curl -sSL https://usegitai.com/install.sh | bash

Downloading git-ai (release: latest)...
Successfully installed git-ai into /home/dcramer/.git-ai/bin
You can now run 'git-ai' from your terminal
Installed git-ai 1.0.31
Setting up IDE/agent hooks...
✓ Claude code: Hooks updated

found it

<!-- gh-comment-id:3730821800 --> @dcramer commented on GitHub (Jan 9, 2026): ``` ➜ ~/s/sentry (master) ✗ npm uninstall @anthropic-ai/claude-code -g note: using Volta to uninstall @anthropic-ai/claude-code Removed executable 'claude' installed by '@anthropic-ai/claude-code' success: package '@anthropic-ai/claude-code' uninstalled ➜ ~/s/sentry (master) ✗ curl -sSL https://usegitai.com/install.sh | bash Downloading git-ai (release: latest)... Successfully installed git-ai into /home/dcramer/.git-ai/bin You can now run 'git-ai' from your terminal Installed git-ai 1.0.31 Setting up IDE/agent hooks... ✓ Claude code: Hooks updated ``` found it
Author
Owner

@acunniffe commented on GitHub (Jan 10, 2026):

@dcramer looks like you got it working in the end. We should be checking for Claude Desktop as well as Claude Code CLI. I'm opening https://github.com/acunniffe/git-ai/issues/339 to track the issue and closing this. Thanks for reporting!

<!-- gh-comment-id:3733408445 --> @acunniffe commented on GitHub (Jan 10, 2026): @dcramer looks like you got it working in the end. We should be checking for Claude Desktop as well as Claude Code CLI. I'm opening https://github.com/acunniffe/git-ai/issues/339 to track the issue and closing this. Thanks for reporting!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/git-ai#115
No description provided.