[BUG] Claude Code is trying to call cygpath internally but failing, even though cygpath works fine from bash.
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?
- OS: Windows 10.0.22631 with Cygwin 3.6.4
- Claude Code version: 2.0.11
- The error: Command failed: cygpath -u 'C:\Users\kwright\AppData\Local\Temp'
- That cygpath works fine in bash but fails when Claude Code calls it internally
cygpath works perfectly even in non-interactive mode (bash -c), and the PATH is correctly set. This
confirms the issue is specifically with how Claude Code is launching bash or handling the environment.
This appears to be a bug in Claude Code v2.0.11 on Windows/Cygwin. The issue is that Claude Code is trying to call cygpath internally but failing
CLAUDE - Claude Code is trying to call cygpath internally but failing.txt
, even though cygpath works fine from bash.
What Should Happen?
Claude should not be erroring this way.
Error Messages/Logs
Steps to Reproduce
Fresh Claude and cygwin install.
Please see uploaded file for the complete Claude session.
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.0.11
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
PowerShell
Additional Information
Same results in Windows 'cmd' terminal.
This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗