Unable to execute CLI commands

Status Fixed / completed
Maintainer reply ✓ Yes — wolffiex
Activity 15 comments · opened Mar 5, 2025 · closed Mar 6, 2025
💡 Likely answer: A maintainer (wolffiex, collaborator) responded on this thread — see the highlighted reply below.

Summary

Claude code seems very capable of reading files, and writing files however when it attempts to execute any CLI command(echo 'tod'), it simply hangs waiting for the result. The time does continue to tick up however.

Environment

  • ZSH CLI with Zim.
  • MacOSX.

View original on GitHub ↗

15 Comments

wolffiex collaborator · 1 year ago

can you provide the zsh executable location on your system?

wolffiex collaborator · 1 year ago

This should be fixed in 0.2.32

Francismb · 1 year ago
can you provide the zsh executable location on your system?

Sure!

╰─$ which zsh                                            
/opt/homebrew/bin/zsh
Francismb · 1 year ago
This should be fixed in 0.2.32

Thats great news, appreciate the fast response.

Francismb · 1 year ago
This should be fixed in 0.2.32

@wolffiex I am currently on 0.2.32 and I am still seeing the same problem.

╰─$ claude update
Current version: 0.2.32
Checking for updates...
Claude Code is up to date (0.2.32)
smallnamespace · 1 year ago

I also see this issue. Downgrading to older versions such as 0.2.9 do not help.

wolffiex collaborator · 1 year ago

can folks who are still having trouble please post the location of bash or zsh on your system? If you're having problems with version 0.2.32, it means we can't find bash or zsh using which your $SHELL env var or by looking in our usual spots

Francismb · 1 year ago
╰─$ which $SHELL                                                            1 ↵
/bin/zsh

Here you go @wolffiex Let me know if there is a debug mode that I can run to get more information for you.

wolffiex collaborator · 1 year ago

huh this is puzzling @Francismb. that path is definitely supported and is on our search list. can you take a screenshot of what you see when you ask claude to run something like echo hi

Francismb · 1 year ago

Sure thing @wolffiex Here you go.

!Image

arjun810 · 1 year ago

Also getting this issue, on os x, zsh from homebrew.

!Image

Francismb · 1 year ago

Hey @wolffiex Can we re-open this issue please?

Francismb · 1 year ago

This is now fixed since 0.2.38.

yoloyash · 1 year ago

Hi, it's still not fixed for me. I'm on Claude Code v1.0.67 running via Bedrock. Any idea what I'm doing wrong?
Edit: It does work sometimes, other times it's incredibly slow.

github-actions[bot] · 1 year ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.