适合新手直接照抄操作,全程实测可用,含 DeepSeek + Kimi-2.6 双模型方案。
一、前置环境准备(必做)
- 系统要求:Windows 10 2004+/Win11,内存≥8G,管理员权限操作。
- 开启 PowerShell 执行权限(管理员终端运行):
- Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
- Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
- 提示输入 Y 回车确认
- 提前准备 API Key:
- DeepSeek:platform.deepseek.com 获取 sk-xxx
- Kimi(Moonshot):platform.moonshot.cn 获取 sk-xxx
二、一键安装 OpenClaw(国内加速版)
管理员 PowerShell 执行:iwr -useb
https://open-claw.org.cn/install-cn.ps1 | iex
验证安装:新开普通终端输入 openclaw –version,输出版本号即成功。
常用核心命令:
openclaw gateway —— 启动网关服务
openclaw setup —— 环境预检(不删数据)
openclaw configure —— 交互式配置向导
openclaw doctor —— 一键排错
openclaw security audit —— 修复安全警告
注意:本版本无 model reload,改配置后重启网关生效。
三、配置双模型:DeepSeek 默认主模型 + Kimi-2.6 备用
进入配置向导 openclaw configure,按以下顺序选择:
网关模式:Local (this machine)
配置项:Model
模型厂商:More → Custom Provider
API 地址:
https://api.moonshot.cn/v1
密钥:粘贴 Kimi sk-xxx
兼容格式:OpenAI-compatible
模型 ID:kimi-k2.6
新增模型:Skip for now
默认模型:Enter model manually → 输入 deepseek/deepseek-chat
保存配置。
修复 Kimi 400 思考模式报错:
openclaw config set models.custom-api-moonshot-cn.thinking off
启动服务:openclaw gateway
四、访问控制面板
浏览器打开 http://127.0.0.1:18791
可自由切换模型、使用浏览器控制、记忆存储、语音对话等功能。
五、高频报错快速修复
默认模型切不回 DeepSeek:openclaw configure 手动指定 deepseek/deepseek-chat
Kimi 400 格式错误:关闭 thinking 模式
内存文件不存在:mkdir -Force “$env:USERPROFILE.openclawworkspacememory”
安全警告:openclaw security audit
六、使用方案
主模型 DeepSeek/deepseek-chat(日常、代码、推理)
备用模型
custom-api-moonshot-cn/kimi-k2.6(长文本、总结、多轮对话)
聊天记录、记忆全部本地保存,不会丢失。
关注我,持续分享 AI 工具实战教程!#AI教程 #OpenClaw #DeepSeek #Kimi

