Trying to npm install -g @anthropic-ai/claude-code on an AMD Ryzen based system

Resolved 💬 6 comments Opened Feb 26, 2025 by davidsheardown Closed Mar 6, 2025

I have tried this on windows 11 powershell and also WSL2 / Ubunut.

I have an AMD Ryzen based Windows 11 environment and when I try to:

npm install -g @anthropic-ai/claude-code

I get the following error:

npm error code EBADPLATFORM
npm error notsup Unsupported platform for @anthropic-ai/claude-code@0.2.14: 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\david\AppData\Local\npm-cache\_logs\2025-02-26T09_14_00_720Z-debug-0.log

View original on GitHub ↗

This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗