OpenClaw 开源汉化版:安装、配置与使用指南
背景介绍
OpenClaw 是一款运行在本地电脑上的开源个人 AI 助手平台。它通过 WhatsApp、Telegram、Discord 等聊天应用与 AI 交互,处理邮件、日历、文件等事务。本项目为官方版本的深度汉化发行版,CLI 命令行和 Dashboard 网页控制台均支持中文,并每小时自动同步官方更新。数据完全本地掌控,适合注重隐私的用户。
前置条件
需要 Node.js >= 22。可通过 node -v 检查版本。
安装与配置
推荐使用 npm 全局安装:
npm install -g @qingchencloud/openclaw-zh@latest
安装完成后,执行初始化向导:
openclaw onboard
该过程会引导选择 AI 模型、配置 API 密钥以及设置聊天通道。随后启动控制台:
openclaw dashboard
浏览器将自动打开全中文 Dashboard。如需更多细节,可查阅官方文档中的安装指南。
界面预览
概览仪表板展示网关状态、实例监控及快捷操作。对话界面支持与 AI 实时交互。渠道管理覆盖 WhatsApp、Telegram、Discord 等平台。配置中心与节点配置均已完成汉化,包含审批与安全策略管理。技能插件支持 1Password、Apple Notes 等扩展。

常用命令
openclaw # 启动服务
openclaw onboard # 初始化向导
openclaw dashboard # 打开控制台
openclaw config # 查看或修改配置
openclaw skills # 管理技能
openclaw --help # 查看帮助
更新与升级
使用以下命令更新到最新版本:
npm update -g @qingchencloud/openclaw-zh
当前版本可通过 openclaw --version 查看。稳定版经过测试,推荐使用;最新版每小时同步上游,适合尝鲜。
其他安装方式
若需手动安装或配置守护进程,请参考详细指南。
Linux / macOS 一键脚本:
curl -fsSL -o install.sh https://cdn.jsdelivr.net/gh/1186258278/OpenClawChineseTranslation@main/install.sh && bash install.sh
Windows PowerShell:
[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
Invoke-WebRequest -Uri "https://cdn.jsdelivr.net/gh/1186258278/OpenClawChineseTranslation@main/install.ps1" -OutFile "install.ps1" -Encoding UTF8; powershell -ExecutionPolicy Bypass -File ".\install.ps1"
如遇中文乱码,可直接使用 npm 安装。
Docker 部署示例:
docker run --rm -v openclaw-data:/root/.openclaw ghcr.io/1186258278/openclaw-zh:latest openclaw setup
docker run --rm -v openclaw-data:/root/.openclaw ghcr.io/1186258278/openclaw-zh:latest openclaw config set gateway.mode local
docker run -d --name openclaw -p 18789:18789 -v openclaw-data:/root/.openclaw ghcr.io/1186258278/openclaw-zh:latest openclaw gateway run
访问地址:http://localhost:18789。
也支持 pnpm 或 yarn 安装:
pnpm add -g @qingchencloud/openclaw-zh@latest
yarn global add @qingchencloud/openclaw-zh@latest
常见问题
| 问题 | 快速解决 |
|---|---|
| 安装卡住 / 下载慢 | 加镜像源:npm install -g @qingchencloud/openclaw-zh@latest --registry=https://registry.npmmirror.com |
| 安装后还是英文 | 先卸载原版:npm uninstall -g openclaw && npm install -g @qingchencloud/openclaw-zh@latest |
| token mismatch | 运行 openclaw dashboard 自动打开带 Token 的 URL |
| pairing required | openclaw devices list 然后 openclaw devices approve <ID> |
| 远程 / 内网访问不了 | openclaw config set gateway.bind lan + 设置 Token + 重启 |
| Missing config | 运行 openclaw onboard 初始化 |
| Missing workspace template | 升级至最新:npm install -g @qingchencloud/openclaw-zh@latest |
| Ollama 无响应 | 检查 baseURL 是否为 http://localhost:11434/v1 |
插件扩展
例如安装更新检测插件:
npm install -g @qingchencloud/openclaw-updater
结语
至此,您已拥有一个完全中文化的私有化 AI 助手。从快速安装到界面体验,再到插件扩展,OpenClaw 汉化版让个人 AI 助理真正触手可及。数据本地存储、多平台即时交互、自动化任务处理,均为开源免费且中文友好。

