claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[BUG] CC native on Windows: not really shell aware

Open 0xeb opened this issue 4 months ago • 9 comments

Environment

  • Platform (select one):
    • [x] Anthropic API
    • [ ] AWS Bedrock
    • [ ] Google Vertex AI
    • [ ] Other:
  • Claude CLI version: 1.0.67
  • Operating System: Windows 11
  • Terminal: cmd.exe

Bug Description

On Windows native (no WSL), CC still makes a lot of errors trying to run essential commands:

● Bash(move *.md docs\)
  ⎿  Error: /usr/bin/bash: line 1: move: command not found

● Bash(move /Y *.md docs\)
  ⎿  Error: /usr/bin/bash: line 1: move: command not found

The above are but a few instances of errors where CC has to retry multiple times in order to re-orient itself and know under which environment it is.

Steps to Reproduce

Start dogfooding CC windows native internally. You will find all sort of errors at tool invocation and shell interaction levels.

Using or having to install Git Bash is out of question.

Expected Behavior

CC should know its environment and shell and work correctly

Actual Behavior

All sorts of shell commands invocation errors:

● Bash(move *.md docs\)
  ⎿  Error: /usr/bin/bash: line 1: move: command not found

● Bash(move /Y *.md docs\)
  ⎿  Error: /usr/bin/bash: line 1: move: command not found

etc.

Too many to list. I was not planning to file a bug, but this is too much now.

Additional Context

Please dogfood your own product (CC) on Windows and start to weed out low hanging fruit errors.

0xeb avatar Aug 03 '25 14:08 0xeb