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

Resolved 💬 14 comments Opened Feb 4, 2026 by ibrahim-descript 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 ↗

This issue has 14 comments on GitHub. Read the full discussion on GitHub ↗