[BUG] Claude fails to auto or manually update in WSL, seemingly from Ink compatibility issues
Resolved 💬 3 comments Opened Mar 19, 2025 by seconds-0 Closed Mar 21, 2025
Environment:
- Platform: Other (CLI)
- Claude CLI version: 0.2.29
- Operating System: Linux Ubuntu (WSL environment)
- Terminal: WSL terminal
## Bug Description:
Claude Code is failing to auto-update and encountering terminal/raw mode issues.
## Steps to Reproduce:
- Run Claude Code in WSL environment
- Attempt to use any command that triggers version checking or updating
## Expected Behavior:
Claude Code should check for updates and apply them automatically.
## Actual Behavior:
- There's a .update.lock file present in the ~/.claude/ directory that's either empty or unreadable
- When running any Claude command, there's an error: "Raw mode is not supported on the current process.stdin"
- The error references Ink (terminal UI library) compatibility issues
## Additional Context:
The core issue appears to be related to raw terminal mode support in the WSL environment, preventing the update process from completing properly. This is likely because the Ink library used for terminal UI rendering requires raw mode, which isn't fully supported in the current environment.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗