1. 下载 Powershell 离线安装包
PowerShell 7.5.3 离线安装程序
| 版本 | 适用平台 | 下载链接 |
|---|---|---|
| PowerShell 7.5.3 | Windows 10/11 | x64 | x86 |
| PowerShell 7.5.3 | MacOS | 64-bit | ARM64 |
| PowerShell 7.5.3 | Linux | Redhat | Debian |
如需更多下载选项,请访问 PowerShell 7.5.3 发布页面。
PowerShell 7.4.12 LTS 离线安装程序
| 版本 | 适用平台 | 下载链接 |
|---|---|---|
| PowerShell 7.4.12 LTS | Windows 10/11 | x64 | x86 |
| PowerShell 7.4.12 LTS | MacOS | 64-bit | ARM64 |
| PowerShell 7.4.12 LTS | Linux | Redhat | Debian |
2. 在PowerShell安装 Node.js 和 pnpm
1. 安装Node.js(推荐18+版本) brew install node # macOS用brew,Linux用apt install nodejs
2. 安装pnpm(国内镜像加速) npm install -g pnpm --registry=https://registry.npmmirror.com #
3. 验证安装 node -v && pnpm -v # 输出版本号即成功
# 设置淘宝镜像源并安装
npm config set registry https://registry.npmmirror.com
npm install -g pnpm
pnpm -v
# 输出版本号即表示安装成功
3.安装国内版OpenClaw
# 卸载旧版(如有)
npm uninstall -g openclaw
# 安装国内增强版
npm install -g openclaw-cn --registry=https://registry.npmmirror.com
# 初始化配置(自动生成国内适配的配置文件)
openclaw-cn onboard --install-daemon
4.申请key
1.DeepSeek|深度求索 https://www.deepseek.com/
2.Kimi https://platform.moonshot.cn/
3.开发者后台 - 飞书开放平台 https://open.feishu.cn/
5.安装国内可用的Skills(核心功能扩展)
海外版ClawHub国内访问受限,直接用Gitee克隆国内技能(无需翻墙)
# 克隆国内技能仓库(无需翻墙)
git clone https://gitee.com/mirrors/openclaw-skills.git
# 或
git clone https://gitee.com/openclaw-cn/skills.git
# 进入目录安装
cd openclaw-skills
pnpm install
# 配置技能路径
openclaw-cn config set skills.path ./skills
5.OpenClaw 首次启动配置AI模型
openclaw-cn onboard
6 其他
日常启动:openclaw-cn gateway start
打开界面:openclaw-cn dashboard
遇到问题:openclaw-cn doctor 或 openclaw-cn logs --follow