文章目录Claude Codewindows 安装npmnot be available接入 minimaxcc-switch开始使用mac 安装claudecc-switch测试Claude Codewindows 安装npm官网 https://code.claude.com/docs/en/overview我用的npm install -g anthropic-ai/claude-code注意npm install -g 的安装位置取决于 Node.js 的全局 prefix而不是你当前所在的盘符。因为我修改了 npm prefix 所以我必须要去环境变量 path 先把这个路径加上not be available解决方法https://blog.csdn.net/2402_88456264/article/details/157589114终端输入 powershell-Command$f%USERPROFILE%\.claude.json;$jGet-Content $f|ConvertFrom-Json;$j|Add-Member -NotePropertyName hasCompletedOnboarding -NotePropertyValue $true -Force;$j|ConvertTo-Json|Set-Content $f接入 minimaxhttps://platform.minimaxi.com/docs/guides/text-ai-coding-tools#%E5%9C%A8-claude-code-%E4%B8%AD%E4%BD%BF%E7%94%A8-minimax-m2-5%EF%BC%88%E6%8E%A8%E8%8D%90%EF%BC%89cc-switchhttps://platform.minimaxi.com/docs/guides/text-ai-coding-tools#windowshttps://github.com/farion1231/cc-switch/releases/tag/v3.12.2下载注册账号配置开始使用mac 安装claudenpm install -g anthropic-ai/claude-codecc-switch# 查看全局安装路径 npm root -g # 查看全局安装路径完整配置 npm config get prefix # 查看 npm 配置详情 npm config list测试500{type:error,error:{type:api_error,message:ins ufficientbalance(1008)},request_id:06152768526df6ee82a1da05bee74a40}
Claude Code Installation and Troubleshooting During the Process
文章目录Claude Codewindows 安装npmnot be available接入 minimaxcc-switch开始使用mac 安装claudecc-switch测试Claude Codewindows 安装npm官网 https://code.claude.com/docs/en/overview我用的npm install -g anthropic-ai/claude-code注意npm install -g 的安装位置取决于 Node.js 的全局 prefix而不是你当前所在的盘符。因为我修改了 npm prefix 所以我必须要去环境变量 path 先把这个路径加上not be available解决方法https://blog.csdn.net/2402_88456264/article/details/157589114终端输入 powershell-Command$f%USERPROFILE%\.claude.json;$jGet-Content $f|ConvertFrom-Json;$j|Add-Member -NotePropertyName hasCompletedOnboarding -NotePropertyValue $true -Force;$j|ConvertTo-Json|Set-Content $f接入 minimaxhttps://platform.minimaxi.com/docs/guides/text-ai-coding-tools#%E5%9C%A8-claude-code-%E4%B8%AD%E4%BD%BF%E7%94%A8-minimax-m2-5%EF%BC%88%E6%8E%A8%E8%8D%90%EF%BC%89cc-switchhttps://platform.minimaxi.com/docs/guides/text-ai-coding-tools#windowshttps://github.com/farion1231/cc-switch/releases/tag/v3.12.2下载注册账号配置开始使用mac 安装claudenpm install -g anthropic-ai/claude-codecc-switch# 查看全局安装路径 npm root -g # 查看全局安装路径完整配置 npm config get prefix # 查看 npm 配置详情 npm config list测试500{type:error,error:{type:api_error,message:ins ufficientbalance(1008)},request_id:06152768526df6ee82a1da05bee74a40}