claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

Unsupported win32?

Open vRITHNER opened this issue 1 year ago • 3 comments

Trying to install claude into WSL give me : npm error code EBADPLATFORM npm error notsup Unsupported platform for @anthropic-ai/[email protected]: wanted {"os":"!win32"} (current: {"os":"win32"}) npm error notsup Valid os: !win32 npm error notsup Actual os: win32 npm error A complete log of this run can be found in: C:\Users\vrith\AppData\Local\npm-cache_logs\2025-02-26T14_02_25_106Z-debug-0.log

vRITHNER avatar Feb 26 '25 14:02 vRITHNER

There was an issue about this yesterday that was closed as invalid.

Try the solution posted here https://github.com/anthropics/claude-code/issues/113

npm install -g @anthropic-ai/claude-code --force --no-os-check

JoshuaJDevine avatar Feb 26 '25 15:02 JoshuaJDevine

dupe of #107, see troubleshooting ideas there. We'll be updating our docs to make this clearer very shortly.

ashwin-ant avatar Feb 26 '25 17:02 ashwin-ant

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.

github-actions[bot] avatar Aug 09 '25 14:08 github-actions[bot]