claude command not working in windows terminal
Status Closed — duplicate
Maintainer reply ✓ Yes — 8enmann
Workaround ✓ Mentioned in thread ↓
Activity 13 comments · opened Feb 25, 2025 · closed Feb 25, 2025
💡 Likely answer: A maintainer (8enmann, collaborator)
responded on this thread — see the highlighted reply below.
installed claude following guide here https://docs.anthropic.com/en/docs/agents-and-tools/claude-code/overview#before-you-begin
getting errors on shell, tried below in my windows 11
Terminal: errors
cmd: errors
bash: blank
node -v
v23.1.0
git -v
git version 2.45.1.windows.1
13 Comments
im having similar issues with Windows 10, using PowerShell. I have to type npx claude and it shows the initial screen asking to make a choice of text style, but it just goes back to the prompt, no chance to make a selection or anything. not coded properly or buggy. unusable
D:\wamp64\www\pdj>npx --version
11.1.0
Same here! I am running claude command on Windows and it terminates without any other inputs and shows the same error.
Same issue
!Image
same here
same error
freshly installed npm and claude-code on win10 an hour ago
yeah same
UPDATE on workaround fix: Run the claude command inside Git bin bash
!Image
Works for windows 10 machines
EDIT: Nevermind, claude-code is not currently supported for windows
the app is at capacity atm at the API authenticate step anyway
let's wait for anthropic team to expand
!Image
Our suggested usage for Windows is WSL with Node 20+. Does that work for y'all?
I can confirm that it's only working when launching with git bash
Windows is not supported, you need linux machine or WSL
new version now has an error to notify us
I was successfully able to get WSL loaded correctly on windows 10. the
issue was node.js and NPM had to be completely uninstalled system wide and
then readded, then and only then did WSL allow me to boot up claude code.
Been running it all day. The API charges are high with thinking on im
finding out. Have not been able to figure out how to turn thinking off
though.
On Wed, Feb 26, 2025 at 1:34 AM Lup @.***> wrote:
--
Thank You, 🙏
✨Norman 💖 ✨
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.