一
1.npm i -g openclaw
2.openclaw onboard
二 OpenClaw 2026.2.13
c
# 替换 git@github.com: 格式
git config --global url."https://github.com/".insteadOf "git@github.com:"
# 替换 ssh://git@github.com/ 格式
git config --global url."https://github.com/".insteadOf "ssh://git@github.com/"
c
npm install -g openclaw --ignore-scripts
打开文件管理器,进入路径:C:\Users\你的用户名.openclaw\agents\main(把「你的用户名」换成实际的,比如 30272);
如果没有 auth-profiles.json 文件,新建一个,写入以下内容(替换成你的 API Key):
c
{
"zhipuai": {
"apiKey": "你的智谱API Key"
}
}
c
openclaw configure --section model
- 重启
c
openclaw gateway restart