[BUG] Input freezes on Windows when launching Claude Code from certain directories (native installer)

Status Closed — not planned
Reported on v2.1.29
Maintainer reply None cached
Activity 14 comments · opened Feb 4, 2026 · closed Mar 25, 2026

Preflight Checklist

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

What's Wrong?

Claude Code becomes unresponsive to keyboard input when launched from certain directories on Windows. The terminal appears normal but no keystrokes are registered.

Environment:

  • OS: Windows 11
  • Shell: PowerShell 7.5.4
  • Claude Code version: Latest (native installer)

Steps to reproduce:

  1. Install Claude Code via native installer (latest version)
  2. Open PowerShell
  3. cd C:\Users\<username>\Documents (or subdirectories)
  4. Run claude
  5. Try to type - no input is accepted

Expected behavior: Claude Code accepts keyboard input normally

Actual behavior: Terminal loads but keyboard input is completely frozen. Cannot type anything.

Workaround:
Downgrading to npm version 2.1.29 fixes the issue:

npm install -g @anthropic-ai/claude-code@2.1.29

Notes:

  • Works fine when launched from home directory (C:\Users\<username>)
  • Breaks in Documents and its subdirectories
  • The npm-based version (2.1.29) works correctly in all directories
  • Issue appeared after Claude Code switched from npm to native installer

What Should Happen?

Claude Code should accept keyboard input normally when launched from any directory, including C:\Users\<username>\Documents and its subdirectories.

Error Messages/Logs

Steps to Reproduce

  1. Install Claude Code via native installer (latest version)
  2. Open PowerShell
  3. cd C:\Users\<username>\Documents (or any subdirectory)
  4. Run claude
  5. Try to type - no input is accepted

Note: The issue does NOT occur when launching from the home directory (C:\Users\<username>).

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

2.1.29

Claude Code Version

Latest (native installer)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

_No response_

View original on GitHub ↗

14 Comments

github-actions[bot] · 6 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/22985
  2. https://github.com/anthropics/claude-code/issues/22970
  3. https://github.com/anthropics/claude-code/issues/22906

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

danielkv8 · 6 months ago

I have the same issue, opens up fine in my home directory but when I open it in me repo its just get stuck and I can't type anything

ogix · 6 months ago

Same here! Please fix asap.

thundo · 6 months ago

Same, totally unusable.

2.1.29 last one working

DManiak1996 · 6 months ago

2.1.31 has the same error.

Edit: Tried CC from 2.1.19 to 2.1.29 and all of them worked well for me. So the bug must have come from .30 or .31. Suggest you can downgrade to 2.1.28 or 2.1.29 if that works for you.

ivanjuras · 6 months ago

I have the same bug. I can't use CC on Windows from 2.1.30 anymore.

Rocky13221 · 6 months ago

I'm experiencing the same issue. However, when I run Claude on a new project instead of an existing one, it works fine. Has anyone found a solution for this?

danielkv8 · 6 months ago

for me right now the solution is to open claude in my home directory and just point him to where the repo and tell him what to do, kindy annoying but works

kimsey0 · 6 months ago

Doesn't seem to be related to the npm installer specifically. Downgrading to the native 2.1.29 version with claude install 2.1.19 also fixes it and upgrading again with claude install breaks it once more.

kimsey0 · 6 months ago

Seems like Enter, Enter unfreezes it for me on 2.1.31.

ogix · 6 months ago

workaround: turn off superpowers plugin

Ben-CA · 6 months ago

I'm getting this intermittently, where the terminal freezes at random and I have to restart the terminal. Still happens with v.2.1.52

github-actions[bot] · 5 months ago

Closing for now — inactive for too long. Please open a new issue if this is still relevant.

github-actions[bot] · 5 months 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.