[BUG] Claude is not getting started from the Terminal ( tried Bash, PowerShell and also a standalone Windows Terminal)
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?
Claude is not getting started from the Terminal ( tried Bash, PowerShell, and also a standalone Windows Terminal), and all the terminals have the same behaviour.
As suggested by Claude, I tried to figure out the issue, but was unsuccessful. Finally, Claude suggested that this is a bug with the Bun raw mode error, and mentioned it on a corporate Windows machine. This is a known class of issue.
The error that I got is mentioned below,
===================
PS C:\Users\Ramachandra_Kopparap\Claude_Code\queries> claude --version
2.1.69 (Claude Code)
PS C:\Users\Ramachandra_Kopparap\Claude_Code\queries> ^C
PS C:\Users\Ramachandra_Kopparap\Claude_Code\queries> ^C
PS C:\Users\Ramachandra_Kopparap\Claude_Code\queries> ^C
PS C:\Users\Ramachandra_Kopparap\Claude_Code\queries> claude -p "hello"
Hello! How can I help you today?
PS C:\Users\Ramachandra_Kopparap\Claude_Code\queries> claude
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Accessing workspace:
C:\Users\Ramachandra_Kopparap\Claude_Code\queries
Quick safety check: Is this a project you created or one you trust? (Like your own code, a well-known open source project, or work from your team). If not, take a moment to review what's in this folder first.
Claude Code'll be able to read, edit, and execute files here.
Security guide
❯ 1. Yes, I trust this folder ✔
- No, exit
Press Ctrl-C again to exit
PS C:\Users\Ramachandra_Kopparap\Claude_Code\queries> claude --dangerously-skip-permissions
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Accessing workspace:
C:\Users\Ramachandra_Kopparap\Claude_Code\queries
Quick safety check: Is this a project you created or one you trust? (Like your own code, a well-known open source project, or work from your team). If not, take a moment to review what's in this folder first.
Claude Code'll be able to read, edit, and execute files here.
Security guide
❯ 1. Yes, I trust this folder ✔
- No, exit
Enter to confirm · Esc to cancel
PS C:\Users\Ramachandra_Kopparap\Claude_Code\queries> claude --dangerously-skip-permissions
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Accessing workspace:
C:\Users\Ramachandra_Kopparap\Claude_Code\queries
Quick safety check: Is this a project you created or one you trust? (Like your own code, a well-known open source project, or work from your team). If not, take a moment to review what's in this folder first.
Claude Code'll be able to read, edit, and execute files here.
Security guide
❯ 1. Yes, I trust this folder
- No, exit
Enter to confirm · Esc to cancel
PS C:\Users\Ramachandra_Kopparap\Claude_Code\queries> echo "1" | claude
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:631:2077)
- <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:637:3763)
- LL (B:/~BUN/root/src/entrypoints/cli.js:594:62999)
- s8 (B:/~BUN/root/src/entrypoints/cli.js:594:66264)
- oz (B:/~BUN/root/src/entrypoints/cli.js:594:74105)
- s8 (B:/~BUN/root/src/entrypoints/cli.js:594:67389)
- oz (B:/~BUN/root/src/entrypoints/cli.js:594:74105)
- s8 (B:/~BUN/root/src/entrypoints/cli.js:594:66251)
- oz (B:/~BUN/root/src/entrypoints/cli.js:594:74105)
- s8 (B:/~BUN/root/src/entrypoints/cli.js:594:66251)
- async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:12998:338)
PS C:\Users\Ramachandra_Kopparap\Claude_Code\queries> cmd /c "echo 1 | claude"
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:631:2077)
- <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:637:3763)
- LL (B:/~BUN/root/src/entrypoints/cli.js:594:62999)
- s8 (B:/~BUN/root/src/entrypoints/cli.js:594:66264)
- oz (B:/~BUN/root/src/entrypoints/cli.js:594:74105)
- s8 (B:/~BUN/root/src/entrypoints/cli.js:594:67389)
- oz (B:/~BUN/root/src/entrypoints/cli.js:594:74105)
- s8 (B:/~BUN/root/src/entrypoints/cli.js:594:66251)
- oz (B:/~BUN/root/src/entrypoints/cli.js:594:74105)
- s8 (B:/~BUN/root/src/entrypoints/cli.js:594:66251)
- async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:12998:338)
===================
What Should Happen?
Claude should run in the terminal
Error Messages/Logs
PS C:\Users\Ramachandra_Kopparap\Claude_Code\queries> claude --version
2.1.69 (Claude Code)
PS C:\Users\Ramachandra_Kopparap\Claude_Code\queries> ^C
PS C:\Users\Ramachandra_Kopparap\Claude_Code\queries> ^C
PS C:\Users\Ramachandra_Kopparap\Claude_Code\queries> ^C
PS C:\Users\Ramachandra_Kopparap\Claude_Code\queries> claude -p "hello"
Hello! How can I help you today?
PS C:\Users\Ramachandra_Kopparap\Claude_Code\queries> claude
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Accessing workspace:
C:\Users\Ramachandra_Kopparap\Claude_Code\queries
Quick safety check: Is this a project you created or one you trust? (Like your own code, a well-known open source project, or work from your team). If not, take a moment to review what's in this folder first.
Claude Code'll be able to read, edit, and execute files here.
Security guide
❯ 1. Yes, I trust this folder ✔
2. No, exit
Press Ctrl-C again to exit
PS C:\Users\Ramachandra_Kopparap\Claude_Code\queries> claude --dangerously-skip-permissions
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Accessing workspace:
C:\Users\Ramachandra_Kopparap\Claude_Code\queries
Quick safety check: Is this a project you created or one you trust? (Like your own code, a well-known open source project, or work from your team). If not, take a moment to review what's in this folder first.
Claude Code'll be able to read, edit, and execute files here.
Security guide
❯ 1. Yes, I trust this folder ✔
2. No, exit
Enter to confirm · Esc to cancel
PS C:\Users\Ramachandra_Kopparap\Claude_Code\queries> claude --dangerously-skip-permissions
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Accessing workspace:
C:\Users\Ramachandra_Kopparap\Claude_Code\queries
Quick safety check: Is this a project you created or one you trust? (Like your own code, a well-known open source project, or work from your team). If not, take a moment to review what's in this folder first.
Claude Code'll be able to read, edit, and execute files here.
Security guide
❯ 1. Yes, I trust this folder
2. No, exit
Enter to confirm · Esc to cancel
PS C:\Users\Ramachandra_Kopparap\Claude_Code\queries> echo "1" | claude
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:631:2077)
- <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:637:3763)
- LL (B:/~BUN/root/src/entrypoints/cli.js:594:62999)
- s8 (B:/~BUN/root/src/entrypoints/cli.js:594:66264)
- oz (B:/~BUN/root/src/entrypoints/cli.js:594:74105)
- s8 (B:/~BUN/root/src/entrypoints/cli.js:594:67389)
- oz (B:/~BUN/root/src/entrypoints/cli.js:594:74105)
- s8 (B:/~BUN/root/src/entrypoints/cli.js:594:66251)
- oz (B:/~BUN/root/src/entrypoints/cli.js:594:74105)
- s8 (B:/~BUN/root/src/entrypoints/cli.js:594:66251)
- async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:12998:338)
PS C:\Users\Ramachandra_Kopparap\Claude_Code\queries> cmd /c "echo 1 | claude"
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:631:2077)
- <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:637:3763)
- LL (B:/~BUN/root/src/entrypoints/cli.js:594:62999)
- s8 (B:/~BUN/root/src/entrypoints/cli.js:594:66264)
- oz (B:/~BUN/root/src/entrypoints/cli.js:594:74105)
- s8 (B:/~BUN/root/src/entrypoints/cli.js:594:67389)
- oz (B:/~BUN/root/src/entrypoints/cli.js:594:74105)
- s8 (B:/~BUN/root/src/entrypoints/cli.js:594:66251)
- oz (B:/~BUN/root/src/entrypoints/cli.js:594:74105)
- s8 (B:/~BUN/root/src/entrypoints/cli.js:594:66251)
- async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:12998:338)
Steps to Reproduce
PS C:\Users\Ramachandra_Kopparap\Claude_Code\queries> claude --version
2.1.69 (Claude Code)
PS C:\Users\Ramachandra_Kopparap\Claude_Code\queries> ^C
PS C:\Users\Ramachandra_Kopparap\Claude_Code\queries> ^C
PS C:\Users\Ramachandra_Kopparap\Claude_Code\queries> ^C
PS C:\Users\Ramachandra_Kopparap\Claude_Code\queries> claude -p "hello"
Hello! How can I help you today?
PS C:\Users\Ramachandra_Kopparap\Claude_Code\queries> claude
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Accessing workspace:
C:\Users\Ramachandra_Kopparap\Claude_Code\queries
Quick safety check: Is this a project you created or one you trust? (Like your own code, a well-known open source project, or work from your team). If not, take a moment to review what's in this folder first.
Claude Code'll be able to read, edit, and execute files here.
Security guide
❯ 1. Yes, I trust this folder ✔
- No, exit
Press Ctrl-C again to exit
PS C:\Users\Ramachandra_Kopparap\Claude_Code\queries> claude --dangerously-skip-permissions
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Accessing workspace:
C:\Users\Ramachandra_Kopparap\Claude_Code\queries
Quick safety check: Is this a project you created or one you trust? (Like your own code, a well-known open source project, or work from your team). If not, take a moment to review what's in this folder first.
Claude Code'll be able to read, edit, and execute files here.
Security guide
❯ 1. Yes, I trust this folder ✔
- No, exit
Enter to confirm · Esc to cancel
PS C:\Users\Ramachandra_Kopparap\Claude_Code\queries> claude --dangerously-skip-permissions
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Accessing workspace:
C:\Users\Ramachandra_Kopparap\Claude_Code\queries
Quick safety check: Is this a project you created or one you trust? (Like your own code, a well-known open source project, or work from your team). If not, take a moment to review what's in this folder first.
Claude Code'll be able to read, edit, and execute files here.
Security guide
❯ 1. Yes, I trust this folder
- No, exit
Enter to confirm · Esc to cancel
PS C:\Users\Ramachandra_Kopparap\Claude_Code\queries> echo "1" | claude
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:631:2077)
- <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:637:3763)
- LL (B:/~BUN/root/src/entrypoints/cli.js:594:62999)
- s8 (B:/~BUN/root/src/entrypoints/cli.js:594:66264)
- oz (B:/~BUN/root/src/entrypoints/cli.js:594:74105)
- s8 (B:/~BUN/root/src/entrypoints/cli.js:594:67389)
- oz (B:/~BUN/root/src/entrypoints/cli.js:594:74105)
- s8 (B:/~BUN/root/src/entrypoints/cli.js:594:66251)
- oz (B:/~BUN/root/src/entrypoints/cli.js:594:74105)
- s8 (B:/~BUN/root/src/entrypoints/cli.js:594:66251)
- async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:12998:338)
PS C:\Users\Ramachandra_Kopparap\Claude_Code\queries> cmd /c "echo 1 | claude"
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:631:2077)
- <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:637:3763)
- LL (B:/~BUN/root/src/entrypoints/cli.js:594:62999)
- s8 (B:/~BUN/root/src/entrypoints/cli.js:594:66264)
- oz (B:/~BUN/root/src/entrypoints/cli.js:594:74105)
- s8 (B:/~BUN/root/src/entrypoints/cli.js:594:67389)
- oz (B:/~BUN/root/src/entrypoints/cli.js:594:74105)
- s8 (B:/~BUN/root/src/entrypoints/cli.js:594:66251)
- oz (B:/~BUN/root/src/entrypoints/cli.js:594:74105)
- s8 (B:/~BUN/root/src/entrypoints/cli.js:594:66251)
- async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:12998:338)
Claude Model
None
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.69 (Claude Code)
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗