Claude Code 提示“claude.exe 与 Windows 版本不兼容“的解决方案

0 阅读1分钟

先卸载

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

然后使用官方源重新安装

npm install -g @anthropic-ai/claude-code@latest --registry=https://registry.npmjs.org/

搞定!