Skip to content

Fix: Windows compatibility for Claude binary detection#360

Open
hexbee wants to merge 1 commit intowinfunc:mainfrom
hexbee:fix/could-not-find-claude-binary-on-Windows
Open

Fix: Windows compatibility for Claude binary detection#360
hexbee wants to merge 1 commit intowinfunc:mainfrom
hexbee:fix/could-not-find-claude-binary-on-Windows

Conversation

@hexbee
Copy link

@hexbee hexbee commented Sep 21, 2025

  • Replace Unix 'which' command with Windows 'where' command
  • Add Windows-specific paths for npm global installations
  • Support Windows environment variables (USERPROFILE vs HOME)
  • Handle Windows executable extensions (.cmd, .exe)
  • Add detection for Program Files directories

This fixes the "Could not find claude binary" error on Windows systems.

- Replace Unix 'which' command with Windows 'where' command
- Add Windows-specific paths for npm global installations
- Support Windows environment variables (USERPROFILE vs HOME)
- Handle Windows executable extensions (.cmd, .exe)
- Add detection for Program Files directories

This fixes the "Could not find claude binary" error on Windows systems.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant