Jason (@fengyie007) 在 Claude Code npm版本2.1.113开始貌似不支持windows了? 中发帖
安装后运行claude提示这个了。
该版本的 D:\tools\nodejs\node-v24.11.1-win-x64\node_modules@anthropic-ai\claude-code\bin\claude.exe 与你运行的 Windows 版本不兼容。请查看计算机的系统信息,然后联系软件发布者。
安装回旧版本 2.1.112就正常了。
npm install -g @anthropic-ai/claude-code@2.1.112