[BUG] Git Bash path parsing error
Resolved 💬 3 comments Opened Jul 6, 2025 by tya123233 Closed Jul 14, 2025
Environment
- Platform (select one):
- Anthropic API
- AWS Bedrock
- Google Vertex AI
- Other:
- Claude CLI version: Unable to retrieve (due to bash path error)
- Operating System: Windows 10 (MINGW64_NT-10.0-19045)
- Terminal: Git Bash
Bug Description
When executing bash commands in Git Bash, a path parsing error occurs attempting to access a non-existent
Windows-style path.
Steps to Reproduce
- Use Git Bash on Windows 10
- Execute any bash command through Claude CLI
- Command fails with path error
Expected Behavior
Bash commands should execute normally using correct Unix-style paths.
Actual Behavior
Error occurs: /usr/bin/bash: line 1: C:temp/claude-shell-snapshot-xxxx: No such file or directory
Additional Context
- .bashrc configuration loads correctly
- Proxy settings are working (http://127.0.0.1:7890)
- Issue likely related to Claude CLI's temporary file path handling in Windows Git Bash environment
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗