jonssonyan国内终于能用 Claude Code,我用 Kimi K2 替换了 Claude Code 默认模型 中发帖

我用 Kimi K2 替换了 Claude Code 默认模型,效果还不错,梳理了一下教程 
完整内容移步至我的个人博客:https://jonssonyan.com/2025/8/
以 MacOS M4 系统为例
1. 先去月之暗面的开发者后台申请 API Key,注册默认送 ¥15

Moonshot AI - 开放平台

[image]
2. 安装 Node.js
版本 >= 18
# Download and install nvm:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash

# in lieu of restarting the shell
\. "$HOME/.nvm/nvm.sh"

# Download and install Node.js:...