[BUG] Claude Code CLI crashes on Windows with "cygpath: command not found" error
Resolved 💬 4 comments Opened Sep 30, 2025 by Spacetech3000 Closed Oct 3, 2025
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?
After updating Claude Code CLI today (2025-09-30), the CLI immediately crashes when run from CMD/PowerShell on Windows with the error:
ERROR Command failed: cygpath -u 'H:\SpaceCraft_java'
/usr/bin/bash: line 1: cygpath: command not found
What Should Happen?
read or list files
Error Messages/Logs
ERROR Command failed: cygpath -u 'H:\SpaceCraft_java'
/usr/bin/bash: line 1: cygpath: command not found
- /usr/bin/bash: line 1: cygpath: command not found
Steps to Reproduce
any read in my project, running claude from main disk level had no issues but running from project folder crashed every time
Claude Model
Sonnet (default)
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
claude-sonnet-4-5-20250929
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Windows Terminal
Additional Information
vs code had no issue.
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗