Unsupported win32?
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
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
dupe of #107, see troubleshooting ideas there. We'll be updating our docs to make this clearer very shortly.
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.