Skip to content

[BUG] Claude Code freeze in WSL #4077

Description

@vinhqdang

Environment

  • Platform (select one):
    • Anthropic API
    • AWS Bedrock
    • Google Vertex AI
    • [ X] Other: Claude Code
  • Claude CLI version:
  • Operating System: Windows 11, WSL 2
  • Terminal: Ubuntu WSL

Bug Description

Hello everyone

I am using Windows 11 with WSL2. I installed claude code as instruction, and now if I type

claude

Nothing happened.

But if I press Ctrl-C, the full UI of Claude Code will appear, but now I cannot do anything because I already Ctrl-C

r/ClaudeAI - Claude Code freeze in WSL
Do you have the same issue? I am not quite sure how to fix.

I already did

claude migrate-installer

but same issue - nothing happens until I do Ctrl-C.

Steps to Reproduce

Expected Behavior

claude code should start with no problem

Actual Behavior

claude code freeze and shows nothing

Additional Context

Activity

  1. github-actions commented on Aug 15, 2025

    @github-actions

    Found 3 possible duplicate issues:

    1. Claude CLI Hangs or Becomes Unresponsive in WSL (Intermittent Issue) #619
    2. [BUG] Claude Code CLI hangs forever on Bash()/shell commands in WSL (even with correct user/permissions, native Linux path) #5010
    3. WSL Freezes When Attempting to Write Command #265

    This issue will be automatically closed as a duplicate in 3 days.

    • If your issue is a duplicate, please close it and 👍 the existing issue instead
    • To prevent auto-closure, add a comment or 👎 this comment

    🤖 Generated with Claude Code


  2. added
    duplicateThis issue or pull request already exists
    and removed
    bugSomething isn't working
    platform:windowsIssue specifically occurs on Windows
    on Aug 19, 2025
  3. github-actions commented on Aug 19, 2025

    @github-actions

    This issue has been automatically closed as a duplicate of #619.

    If this is incorrect, please re-open this issue or create a new one.

    🤖 Generated with Claude Code

  4. github-actions commented on Aug 27, 2025

    @github-actions

    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.

  5. locked as resolved and limited conversation to collaborators on Aug 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions