[BUG] CC attempts to use Bash in a windows powershell environment despite all prompts otherwise (claude.md and reminder prompts)
Resolved 💬 3 comments Opened Aug 24, 2025 by count23all Closed Aug 28, 2025
Environment
- Platform (select one):
- [ ] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [ X] Other: <!-- specify -->
- Claude CLI version: 1.0.86 (Claude Code)
- Operating System: Windows 10
- Terminal: Powershell
Bug Description
Claude Code will attempt to use bash when executing system commands around file management and editing. When claude.md instructs CC of the Windows IDE and explicitly "do not use bash" it does not comply and periodically reattempts to use it. When reminded by a direct follow up prompt, it will still attempt to use bash until it gets a system error.
Steps to Reproduce
- start up claude code on windows powershell
- start using it for file analysis, editing, folder analysis, concatanation etc...
- <!-- And so on... -->
Expected Behavior
CC should use a windows native equiivlent function for the bash function
Actual Behavior
CC attempts to use bash.
Additional Context
most of the time the issue resolves around file management and maintenance in a project, such as searching for lines in a file or searching for contents of a directly inside a claude project.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗