Native installer v2.1.71 exits immediately on Rocky Linux 8 over SSH
Resolved 💬 3 comments Opened Mar 9, 2026 by To3Knee Closed Mar 13, 2026
Bug Report
Claude Code version: 2.1.71 (native installer)
OS: Rocky Linux 8.10 (x86_64)
Node version: 18.20.8
Install method: curl -fsSL https://claude.ai/install.sh | sh
Description
The native installer build (2.1.71) exits immediately after rendering the welcome TUI when connected over SSH. The UI flashes on screen then drops back to the shell prompt with no error message.
Steps to Reproduce
- Install via native installer on Rocky Linux 8.10
- SSH into the machine from any client (tested: SecureCRT, OpenSSH)
- Run
claude - TUI renders briefly then exits immediately
Expected Behavior
Interactive TUI stays open and accepts input.
Actual Behavior
TUI renders for ~1 second then exits to shell prompt. No error output.
Additional Context
TERM=xterm-256coloris set (confirmed viaecho $TERM)claude --print "hello"works correctly — non-interactive mode is unaffectedclaude --resume <session-id>works correctly — resuming an existing session is unaffected- Starting a new interactive session is the only broken path
- Downgrading to v1.0.88 via npm (
npm install -g @anthropic-ai/claude-code@1.0.88) resolves the issue completely on the same machine - The npm v1.0.88 install produces a harmless warning:
Claude symlink points to invalid binary— would also appreciate a way to suppress this
Workaround
npm install -g @anthropic-ai/claude-code@1.0.88 --prefix ~/.localThis issue has 3 comments on GitHub. Read the full discussion on GitHub ↗