Skip to content
AI Dev Toolkit.
Esc
  • AI Token CounterCount tokens for GPT, Claude, Gemini, DeepSeek, Qwen and more.Tool
  • LLM API Cost CalculatorEstimate per-request, daily and monthly API costs.Tool
  • AI Model ComparisonCompare prices, context windows and features across models.Tool
  • AI Model Pricing PagesSpecs, real costs and cheaper alternatives for popular models.Tool
  • Context Window CheckerSee whether your text fits each model's context window.Tool
  • Subscription vs API CalculatorFind out whether a chat plan or the API is cheaper for you.Tool
  • GPU / VRAM CalculatorCheck how much VRAM a local model needs and which GPUs fit.Tool
  • Claude Code Error DatabaseExact Claude Code error messages with tested fixes.Tool

Claude Code · Install and setup

Raw mode is not supported on the current process.stdin

Claude Code tried to show an interactive prompt while its input wasn’t a terminal, typically during a piped install.

Message

The exact error

Claude Code
Raw mode is not supported on the current process.stdin, which Ink uses as input stream by default.

Meaning

What it means

Claude Code’s interface reads keys directly from the terminal (“raw mode”). When its input is a pipe instead, as with curl … | bash, it can’t. Anthropic documents one common case: versions before 2.1.246 tried to show an organisation’s settings-approval dialog during claude install, which fails when the installer is piped.

Causes

Common causes

  • Running the installer from a pipe on a version older than 2.1.246 with server-managed settings that need approval
  • Running claude interactively with its input redirected from a file or pipe

Fix

How to fix it

  1. Rerun the installer

    The install script runs the latest release’s installer, which no longer shows the dialog there.

    macOS / Linux
    curl -fsSL https://claude.ai/install.sh | bash
    Windows PowerShell
    irm https://claude.ai/install.ps1 | iex
  2. Don’t pipe into interactive Claude Code

    For scripts, use non-interactive mode: claude -p "your prompt".

  3. If your organisation forces a settings refresh at startup

    The dialog can still appear during install; run the installer from an interactive terminal instead of a pipe, or ask your admin.

Related

Search all Claude Code errors