Claude Code error
Claude Code: Error: Raw mode is not supported on the current process.stdin, which...
Error: Raw mode is not supported on the current process.stdin, which Ink uses as input stream by default.Status: Fixed in releaseLast verified 2 documented fixes3 sources
What it means
Claude Code tried to read interactive terminal input but stdin is a pipe or redirect rather than a terminal.
Causes
- Piping input into interactive claude (for example cat file | claude)
- During curl -fsSL https://claude.ai/install.sh | bash, versions before 2.1.246 trying to show a server-managed settings security approval dialog for some Team/Enterprise users
How to fix it
- Fix 1.
Use -p (print mode) for piped input; v2.1.287 on Windows now explains why and exits instead of hanging.
Snippetcat file | claude -p "your prompt" - Fix 2.
If it happens during install, rerun the installer; the script runs the latest release's install command, and v2.1.246+ no longer shows the dialog during claude install or claude update.
Terminalcurl -fsSL https://claude.ai/install.sh | bash
More Claude Code errors
All 18 Claude Code errorsAPI Error: 500 Internal server error. This is a server-side issue, usually temporaryStatus: WorkaroundAPI Error: Repeated 529 Overloaded errors. The API is at capacityStatus: WorkaroundAPI Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.5: `tool_use` ids were found without `tool_result` blocks immediately after: toolu_01FRvEykWmCgrgJ22mvBbKhV. Each `tool_use` block must have a corresponding `tool_result` block in the next message."}}Status: OpenUnable to connect to API. Check your internet connectionStatus: WorkaroundUnable to connect to API: SSL certificate verification failed (UNABLE_TO_GET_ISSUER_CERT_LOCALLY).Status: WorkaroundPlease run /login · API Error: 401 OAuth token has expiredStatus: WorkaroundOAuth error: timeout of 15000ms exceededStatus: OpenPrompt is too longStatus: Workaround
Related reading
- Claude Code Auto Mode Explained: Permissions Without PromptsClaude Code auto mode swaps permission prompts for a background safety classifier. How the Shift+Tab cycle, hard_deny rules and glob deny patterns fit together.
- Claude Code Fast Mode: Is 2.5x Speed Worth 2x Price?Claude Code fast mode pricing: $8/$40 per MTok on Opus 5.5, the first-enable context charge, separate rate limit pools, and when 2.5x speed pays off.
- Interview Mode: Let Claude Code Ask the Questions FirstThe best Claude Code sessions start with questions, not code. Spec-driven development forces requirements discovery upfront - interview first, spec second, code last.
- Claude Code Idle Compaction: What It Does and How to Turn It OffClaude Code 2.1.299 compacts sessions over 200K tokens after about 54 idle minutes. How the cache math works, the setting to turn it off, and when to keep it.
- Claude Code Desktop SneakPeek Flaw: Fixed Version and What To DoSneakPeek (CVSS 8.7) let a poisoned HTML file read SSH keys and cloud credentials via the Claude Code Desktop preview pane. Fixed in Claude Desktop 1.30096.1.
- Reverse Engineer Anything (REA): What the MCP Server Does and Where the Line IsREA (Reverse Engineer Anything) is an MIT-licensed MCP server that lets Claude Code, Codex or Cursor inspect binaries, Electron apps and APKs. How to try it.
FAQ
What does "Error: Raw mode is not supported on the current process.stdin, which..." mean in Claude Code?
Claude Code tried to read interactive terminal input but stdin is a pipe or redirect rather than a terminal.
How do I fix "Error: Raw mode is not supported on the current process.stdin, which..."?
There are 2 documented fixes. Start with the first: Use -p (print mode) for piped input; v2.1.287 on Windows now explains why and exits instead of hanging.
Is this Claude Code error fixed?
Status: Fixed in release. A release fixed this. The affected versions note says where the fix landed. Affected versions: Install failure fixed in v2.1.246 (still occurs if org config waits for the settings fetch, such as forceRemoteSettingsRefresh); Windows piped-input hang fixed in v2.1.287.
Sources
Last verified against 3 sources: official docs, maintainer replies and release notes.
Newsletter
Fixes for the tools you use, weekly
One email per week. New coding agent releases, what broke, and how developers are working around it.