[BUG] when claude code run in msys2 mingw64 shell env,it can't find bin in $PATH
Resolved 💬 7 comments Opened Jul 29, 2025 by heheda123123 Closed Aug 15, 2025
Environment
- Platform (select one):
- [*] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [ ] Other: <!-- specify -->
- Claude CLI version: 1.0.63 (Claude Code)
- Operating System: windows 11
- Terminal: windows terminal(C:/msys64/msys2_shell.cmd -defterm -here -no-start -mingw64 -use-full-path)
Bug Description
in the msys2 mingw64 env(C:/msys64/msys2_shell.cmd -defterm -here -no-start -mingw64 -use-full-path)
if I install make, it can't find it
Steps to Reproduce
- install msys2 mingw64 env, install make in it
- C:/msys64/msys2_shell.cmd -defterm -here -no-start -mingw64 -use-full-path
- start claude code and do some task, if it run such as make command, it will not find it.
Expected Behavior
find the binary in $PATH
Actual Behavior
not find binary in $PATH
Additional Context
This issue has 7 comments on GitHub. Read the full discussion on GitHub ↗