[BUG] Claude code hangs on basic bash commands

Resolved 💬 3 comments Opened Aug 4, 2025 by jmanchuck Closed Aug 4, 2025

Environment

  • Platform (select one):
  • [x] Anthropic API
  • [ ] AWS Bedrock
  • [ ] Google Vertex AI
  • [ ] Other: <!-- specify -->
  • Claude CLI version: <!-- output of claude --version --> 1.0.67
  • Operating System: <!-- e.g. macOS 14.3, Windows 11, Ubuntu 22.04 --> macOS 15.5
  • Terminal: <!-- e.g. iTerm2, Terminal App --> Terminal

Bug Description

<!-- A clear and concise description of the bug -->

Claude Code is unable to run very simple bash command line commands. I've asked it to run:

  • git commands
  • pwd
  • echo "hello"

Steps to Reproduce

  1. Install Claude Code (tried via npm, shell script and brew)
  2. Run claude in any directory
  3. Ask to run pwd or to run echo "hi"

Expected Behavior

Expected it to run the commands

Actual Behavior

Hung until it hit the 2 minute timeout

Additional Context

<!-- Add any other context about the problem here, such as screenshots, logs, etc. -->

Surprisingly it can list files in a directory, it says List(.)

If this doesn't get fixed can i please get a refund I switched from Cursor to this and its practically unusable since it can't execute many command line things.

<img width="559" height="211" alt="Image" src="https://github.com/user-attachments/assets/bd01fe4b-8a25-45d8-bc01-0f0b0e699fbe" />

View original on GitHub ↗

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