[Bug] CLI freezes immediately on simple input (v2.1.27, Linux/Ghostty)
Resolved 💬 2 comments Opened Jan 31, 2026 by ryan-mt Closed Jan 31, 2026
Description
Claude Code CLI becomes completely unresponsive immediately after submitting a simple prompt (e.g., "Hi"). The application freezes without any error message or visual feedback, requiring forced termination.
Environment
| Component | Value |
|-----------|-------|
| Claude Code Version | 2.1.27 |
| OS | CachyOS (Arch-based) |
| Kernel | Linux 6.18.8-2-cachyos x86_64 |
| Node.js | v22.22.0 |
| Shell | zsh |
| Terminal | Ghostty (xterm-ghostty) |
| Claude Path | /usr/bin/claude |
Steps to Reproduce
- Open Ghostty terminal
- Run
claudeto start Claude Code CLI - Type
Hiand press Enter - Result: CLI freezes immediately - no response, no spinner, no output
Expected Behavior
Claude should display a thinking indicator and respond to the input within a few seconds.
Actual Behavior
- CLI becomes completely unresponsive
- No output or error message displayed
- No spinner or loading indicator
- Process must be force-killed (
Ctrl+Corkill -9)
Reproducibility
- Frequency: 100% - occurs on every attempt
- First noticed: Version 2.1.27
Troubleshooting Attempted
- [x] Restarted terminal
- [x] Tried different prompts (all freeze)
Diagnostic Information
$ claude --version
2.1.27 (Claude Code)
$ node --version
v22.22.0
$ which claude
/usr/bin/claude
$ uname -a
Linux thinh 6.18.8-2-cachyos #1 SMP PREEMPT_DYNAMIC x86_64 GNU/Linux
Additional Context
- Terminal: Ghostty (relatively new GPU-accelerated terminal emulator - may be relevant for compatibility testing)
- Using CachyOS with performance-optimized kernel (BORE scheduler)
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗