[BUG] Title: claude doctor fails with "Raw mode is not supported" error in iTerm2
Environment
- Claude Code Version: 1.0.98
- OS: macOS (Darwin 24.6.0)
- Terminal: iTerm2
- Terminal Type: xterm-256color
- Node.js: Present (Claude Code runs successfully)
## Problem
The claude doctor command consistently fails with a raw mode error, timing out after 2 minutes.
## Error Output
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
at handleSetRawMode (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:838:3853)
## Reproduction Steps
- Install Claude Code via npm
- Run
claude doctorin iTerm2 terminal - Command fails immediately with raw mode error
## Expected Behavior
claude doctor should run diagnostic checks and display results
## Current Workaround
Claude Code functions normally for all other operations; only the doctor command is affected.
## Additional Notes
- Tried with different TERM settings
- Tried updating to latest version
- Main Claude Code functionality works perfectly
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗