claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[BUG]

Open vanman2024 opened this issue 1 year ago • 17 comments

Here’s a clean bug report you can submit to Anthropic or your integration provider:


🐞 Bug Report: Claude Code Extremely Slow, Hanging on Simple Commands

✅ Environment

  • Platform:

    • [ ] Anthropic API
    • [ ] AWS Bedrock
    • [ ] Google Vertex AI
    • [x] Other: Claude CLI via WSL / local devloop shell agent
  • Claude CLI version:
    claude --version: v0.X.X

  • Operating System:
    Windows 11 using WSL2 (Ubuntu 22.04)

  • Terminal:
    VS Code Integrated Terminal (WSL Bash)


🐛 Bug Description

Claude Code has become extremely slow — taking over a minute to respond to basic CLI input, including simple shell queries, file reads, or script executions. This degradation in responsiveness is sudden and noticeable, making the CLI nearly unusable for rapid development.


🧪 Steps to Reproduce

  1. Run claude code in a clean WSL-based environment with a properly structured shell script project.
  2. Prompt Claude to execute a basic shell command or edit
  3. Observe long hang times or timeout-like behavior.

✅ Expected Behavior

Claude should:

  • Respond quickly to basic input/output commands.
  • Execute read/edit logic on files within a second or two.
  • Maintain fast roundtrips for scripting support.

❌ Actual Behavior

  • Claude often hangs 30–60 seconds (or more) on even trivial requests.
  • Tasks like “read this file” or “generate a response” stall indefinitely or show delayed output.
  • Response times are unpredictable and worsen over time in a session.

📎 Additional Context

  • Issue persists across sessions and is repeatable with fresh terminals.
  • No known changes were made to the kernel, structure, or agent config before this slowdown.
  • The environment is well-resourced (it is a modern system with no competing processes).
  • Performance issues began surfacing only recently.

vanman2024 avatar Apr 07 '25 00:04 vanman2024

Image

Image

vanman2024 avatar Apr 07 '25 00:04 vanman2024

Just keeps staying like that even with very simple tasks

vanman2024 avatar Apr 07 '25 00:04 vanman2024

Even asking a simple command like this takes over minute with no reply

Image

vanman2024 avatar Apr 07 '25 00:04 vanman2024

I am still waiting for it to reply even still

vanman2024 avatar Apr 07 '25 00:04 vanman2024

I turned my computer off and restarted the session seems to working better now

vanman2024 avatar Apr 07 '25 01:04 vanman2024

Hi @vanman2024, please reopen and let us know if this happens again for an extended period.

rboyce-ant avatar Apr 08 '25 00:04 rboyce-ant

I have the same problems... many times takes minutes to execute cli bash commands, not sure what you mean by reopen.

cmxela avatar Apr 10 '25 00:04 cmxela

same for me too now and becoming pretty frequent

king-11 avatar May 06 '25 19:05 king-11

for sure this has been very very slow

nomie7 avatar May 10 '25 00:05 nomie7

same problem here.. it's unbearable, unfortunately -.- 10 minutes waiting time for a smallish prompt...

bennniii avatar May 10 '25 21:05 bennniii

I have the same problem. It hangs on executing commands.

Image

asiletto avatar May 24 '25 10:05 asiletto

Having the same issue, Sometimes even a simple prompt loads more than 1000 seconds and There is no code preview or any change in the flow.

edgeup-dev avatar Jun 06 '25 20:06 edgeup-dev

same here. just installed 3 hrs ago

psyb0t avatar Jun 14 '25 01:06 psyb0t

Same here. @rboyce-ant can we reopen this?

fellnerse avatar Jun 18 '25 12:06 fellnerse

same here. just installed 3 hrs ago

looks fixed on my end now

psyb0t avatar Jun 27 '25 19:06 psyb0t

Just giving some feedback. new windows installation, WSL install (ubuntu), CC installed. saying hello worked. but in some folders/projects (possibly large ones) it didn't reply at all and just hung for a response forever. I tried everything and nothing fixed it.

then I deleted the ubuntu wsl installation, tried arch and somehow it worked! so if anyone is desperate, use arch linux on wsl and give that a shot.

Unravl avatar Jun 28 '25 14:06 Unravl

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.

github-actions[bot] avatar Aug 10 '25 14:08 github-actions[bot]