[BUG] Claude Code is completely broken on Windows due to missing cygpath dependency.

Resolved 💬 3 comments Opened Sep 25, 2025 by shmuelia Closed Sep 29, 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?

What Happened
After recent update, Claude Code fails on Windows with "cygpath: command not found" error when trying to read any file, making it completely unusable.
Error Message
Error: Command failed: cygpath -u 'C:\Projects\LeadsManager'
/usr/bin/bash: line 1: cygpath: command not found
Environment

OS: Windows 10/11
Claude Code version: Latest (installed via npm)
Terminal: PowerShell/PyCharm terminal
Error occurs on both local paths and Google Drive paths

What Should Happen?

What Happened
After recent update, Claude Code fails on Windows with "cygpath: command not found" error when trying to read any file, making it completely unusable.
Error Message
Error: Command failed: cygpath -u 'C:\Projects\LeadsManager'
/usr/bin/bash: line 1: cygpath: command not found
Environment

OS: Windows 10/11
Claude Code version: Latest (installed via npm)
Terminal: PowerShell/PyCharm terminal
Error occurs on both local paths and Google Drive paths

Error Messages/Logs

Error: Command failed: cygpath -u 'C:\Projects\LeadsManager'
/usr/bin/bash: line 1: cygpath: command not found

Steps to Reproduce

claude_code_bug_report.md

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

1.0.124 (Claude Code)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PyCharm terminal

Additional Information

nvironment

OS: Windows 10/11
Claude Code version: Latest (installed via npm)
Terminal: PowerShell/PyCharm terminal
Error occurs on both local paths and Google Drive paths

Steps to Reproduce

Install Claude Code on Windows: npm install -g @anthropic-ai/claude-code
Navigate to any project directory
Run claude
Try to read any file: read filename
Error occurs immediately

Expected Behavior
Claude Code should work on Windows without requiring Cygwin/WSL utilities.
Actual Behavior
Complete failure - cannot read any files.
Additional Context

This appears to be a regression in a recent update
Previously working installations are now broken
Installing WSL and creating custom cygpath scripts doesn't resolve the issue
Claude Code seems to be calling cygpath from its own bash instance that doesn't see system installations

This is a critical bug that makes Claude Code completely unusable on Windows. Many developers reported similar issues based on the GitHub activity.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗