[GH-ISSUE #422] Claude fails to launch or read files after placing git-ai path at the beginning of PATH on Windows #155

Closed
opened 2026-03-02 04:12:21 +03:00 by kerem · 1 comment
Owner

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

Hi, I have a question. I originally had Git installed, and its path was already added to the system PATH. After installing git-ai, I put C:\Users\XYJ.git-ai\bin at the very beginning of the PATH. After that, Claude could not be launched, and even when it did open, it couldn’t open or read files. The original Git path in the PATH was D:\git\Git\Git\cmd. Once I restored it, Claude worked normally again.

Originally created by @xyj777 on GitHub (Jan 29, 2026). Original GitHub issue: https://github.com/git-ai-project/git-ai/issues/422 Hi, I have a question. I originally had Git installed, and its path was already added to the system PATH. After installing git-ai, I put C:\Users\XYJ\.git-ai\bin at the very beginning of the PATH. After that, Claude could not be launched, and even when it did open, it couldn’t open or read files. The original Git path in the PATH was D:\git\Git\Git\cmd. Once I restored it, Claude worked normally again.
kerem closed this issue 2026-03-02 04:12:22 +03:00
Author
Owner

@svarlamov commented on GitHub (Jan 29, 2026):

Sorry to hear you're running into this! Do you see anything if you run claude --debug --verbose?

<!-- gh-comment-id:3818772455 --> @svarlamov commented on GitHub (Jan 29, 2026): Sorry to hear you're running into this! Do you see anything if you run `claude --debug --verbose`?
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#155
No description provided.