[BUG] Raw mode is not supported on the current process.stdin cat <filename> | claude with several options

Resolved 💬 2 comments Opened Mar 18, 2026 by dragonLongZ Closed Apr 15, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

"When I execute cat CLAUDE.md | claude 'explain', I get the following error. I also tested other commands; whenever I use a pipe (|), this error occurs."

ERROR Raw mode is not supported on the current process.stdin, which Ink uses as input stream by default. Read about how to prevent this error on https://github.com/vadimdemedes/ink/#israwmodesupported

  • Read about how to prevent this error on https://github.com/vadimdemedes/ink/#israwmodesupported
  • handleSetRawMode (B:/~BUN/root/src/entrypoints/cli.js:720:2407)
  • <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:727:3961)
  • Og (B:/~BUN/root/src/entrypoints/cli.js:682:63139)
  • HPH (B:/~BUN/root/src/entrypoints/cli.js:682:66426)
  • zv (B:/~BUN/root/src/entrypoints/cli.js:682:74299)
  • HPH (B:/~BUN/root/src/entrypoints/cli.js:682:66413)
  • zv (B:/~BUN/root/src/entrypoints/cli.js:682:74299)
  • HPH (B:/~BUN/root/src/entrypoints/cli.js:682:67554)
  • zv (B:/~BUN/root/src/entrypoints/cli.js:682:74299)
  • HPH (B:/~BUN/root/src/entrypoints/cli.js:682:66413)
  • async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:15224:435)

What Should Happen?

it should be work

Error Messages/Logs

ERROR  Raw mode is not supported on the current process.stdin, which Ink uses as input stream by default.                                                                                          Read about how to prevent this error on https://github.com/vadimdemedes/ink/#israwmodesupported
 - Read about how to prevent this error on https://github.com/vadimdemedes/ink/#israwmodesupported
 - handleSetRawMode (B:/~BUN/root/src/entrypoints/cli.js:720:2407)
 - <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:727:3961)
 - Og (B:/~BUN/root/src/entrypoints/cli.js:682:63139)
 - HPH (B:/~BUN/root/src/entrypoints/cli.js:682:66426)
 - zv (B:/~BUN/root/src/entrypoints/cli.js:682:74299)
 - HPH (B:/~BUN/root/src/entrypoints/cli.js:682:66413)
 - zv (B:/~BUN/root/src/entrypoints/cli.js:682:74299)
 - HPH (B:/~BUN/root/src/entrypoints/cli.js:682:67554)
 - zv (B:/~BUN/root/src/entrypoints/cli.js:682:74299)
 - HPH (B:/~BUN/root/src/entrypoints/cli.js:682:66413)
 - async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:15224:435)

Steps to Reproduce

tested other commands; whenever I use a pipe (|), this error occurs."

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.78 (Claude Code)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Windows Terminal

Additional Information

Please do not close this issue in GitHub Actions solely due to inactivity (e.g., no updates for X days), unless the issue has actually been resolved.

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗