claude-code - 💡(How to fix) Fix [BUG] Shell tool is returning no output in arch

Official PRs (…)
ON THIS PAGE

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

Error Messages/Logs

Fix Action

Fix / Workaround

Be on arch linux, upgrade to v2.1.133 (auto update for me yesterday) and it stops working

Code Example

▐▛███▜▌   Claude Code v2.1.133                                                                       
▝▜█████▛▘  Opus 4.7 (1M context) · Claude Team                                                        
  ▘▘ ▝▝    ~/git/private-repo                                                                 
                                                                                                      
❯ can you list the files in this directory?                                                           
                                                                                                      
  Listed 4 directories, ran 3 shell commands                                                          
                                                                                                      
Bash is failing silently. Let me try with sandbox disabled.                                         
                                                                                                      
  Listed 1 directory                                                                                  
                                                                                                      
Explore(List directory files)                                                                       
  ⎿  Done (6 tool uses · 45.9k tokens · 14s)                                                          
                                                                                                      
                                                                                                      
The Bash tool is failing with no output for any command, even echo "hello". This looks like an      
  environment/sandbox issue rather than something I can work around.                                  
                                                                                                      
  Could you try running ls yourself, or let me know if there's a hook blocking Bash that I should look
   at?                                                                                                
                                                                                                      
Churned for 50s

---

{
  "permissions": {
    "defaultMode": "auto"
  },
  "hooks": {
    "SessionStart": [
      {
        "hooks": [
        ]
      }
    ],
    "PostToolUse": [
      {
        "matcher": "Read",
        "hooks": [
        ]
      },
      {
        "matcher": "Write|Edit",
        "hooks": [
        ]
      }
    ],
    "PreToolUse": [
      {
        "matcher": "Write|Edit",
        "hooks": [
        ]
      },
      {
        "matcher": "Bash",
        "hooks": [
        ]
      }
    ]
  },
  "enabledPlugins": {
    "vercel@claude-plugins-official": false 
  },
  "tui": "fullscreen",
  "skipAutoPermissionPrompt": true,
  "skipDangerousModePermissionPrompt": true
}
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

My CC instance suddenly has no access to the shell anymore

What Should Happen?

Should be able to access the shell (running git commands and mkdir and such)

Error Messages/Logs

▐▛███▜▌   Claude Code v2.1.133                                                                       
▝▜█████▛▘  Opus 4.7 (1M context) · Claude Team                                                        
  ▘▘ ▝▝    ~/git/private-repo                                                                 
                                                                                                      
❯ can you list the files in this directory?                                                           
                                                                                                      
  Listed 4 directories, ran 3 shell commands                                                          
                                                                                                      
● Bash is failing silently. Let me try with sandbox disabled.                                         
                                                                                                      
  Listed 1 directory                                                                                  
                                                                                                      
● Explore(List directory files)                                                                       
  ⎿  Done (6 tool uses · 45.9k tokens · 14s)                                                          
                                                                                                      
                                                                                                      
● The Bash tool is failing with no output for any command, even echo "hello". This looks like an      
  environment/sandbox issue rather than something I can work around.                                  
                                                                                                      
  Could you try running ls yourself, or let me know if there's a hook blocking Bash that I should look
   at?                                                                                                
                                                                                                      
✻ Churned for 50s

Steps to Reproduce

Be on arch linux, upgrade to v2.1.133 (auto update for me yesterday) and it stops working

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

v2.1.132

Claude Code Version

2.1.133 (Claude Code)

Platform

Anthropic API

Operating System

Other Linux

Terminal/Shell

Other

Additional Information

Thought this might be hooks related and nuked all of my hooks, no success

{
  "permissions": {
    "defaultMode": "auto"
  },
  "hooks": {
    "SessionStart": [
      {
        "hooks": [
        ]
      }
    ],
    "PostToolUse": [
      {
        "matcher": "Read",
        "hooks": [
        ]
      },
      {
        "matcher": "Write|Edit",
        "hooks": [
        ]
      }
    ],
    "PreToolUse": [
      {
        "matcher": "Write|Edit",
        "hooks": [
        ]
      },
      {
        "matcher": "Bash",
        "hooks": [
        ]
      }
    ]
  },
  "enabledPlugins": {
    "vercel@claude-plugins-official": false 
  },
  "tui": "fullscreen",
  "skipAutoPermissionPrompt": true,
  "skipDangerousModePermissionPrompt": true
}

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] Shell tool is returning no output in arch