Skip to content

claude command not working in windows terminal #58

Closed as duplicate
Closed as duplicate

Description

@rashnk

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

Image

Image

Activity

  1. normanlove222 commented on Feb 25, 2025

    @normanlove222

    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

  2. petersephrin commented on Feb 25, 2025

    @petersephrin

    Same here! I am running claude command on Windows and it terminates without any other inputs and shows the same error.

  3. zakblacki commented on Feb 25, 2025

    @zakblacki

    Same issue

    Image

  4. emberfish commented on Feb 25, 2025

    @emberfish

    same here

  5. lupuleasa-core commented on Feb 25, 2025

    @lupuleasa-core

    same error

    freshly installed npm and claude-code on win10 an hour ago

  6. Memenho commented on Feb 25, 2025

    @Memenho

    yeah same

  7. lupuleasa-core commented on Feb 25, 2025

    @lupuleasa-core

    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

  8. lupuleasa-core commented on Feb 25, 2025

    @lupuleasa-core

    the app is at capacity atm at the API authenticate step anyway

    let's wait for anthropic team to expand

    Image

  9. 8enmann commented on Feb 25, 2025

    @8enmann
    Collaborator

    Our suggested usage for Windows is WSL with Node 20+. Does that work for y'all?

  10. zakblacki commented on Feb 26, 2025

    @zakblacki

    I can confirm that it's only working when launching with git bash

  11. lupuleasa-core commented on Feb 26, 2025

    @lupuleasa-core

    Windows is not supported, you need linux machine or WSL
    new version now has an error to notify us

    
    npm error code EBADPLATFORM
    npm error notsup Unsupported platform for @anthropic-ai/claude-code@0.2.14: wanted {"os":"!win32"} (current: {"os":"win32"})
    
  12. normanlove222 commented on Feb 27, 2025

    @normanlove222
  13. github-actions commented on Aug 9, 2025

    @github-actions

    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.

  14. locked as resolved and limited conversation to collaborators on Aug 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions