-
桌面快捷方式:桌面上有 7 个一键操作图标 —— 启动 OpenClaw、打开控制台、系统状态、启用 SSH、一键维护、帮助文档、安全关机。双击即用。
+
第 1 步:连网 — 点右上角 WiFi 图标,连接你的 WiFi
+
+
第 2 步:打开终端
+
+ 键盘快捷键
+ Ctrl + Alt + T
+
第 3 步:安装 OpenClaw(仅首次,二选一)
+
+
方案 A:官方一键安装(需要能访问外网)
+
+ 官方安装
+ curl -fsSL https://openclaw.ai/install.sh | bash
+
+
+
+
方案 B:国内镜像安装(推荐,不用翻墙)
+
+ 国内安装
+ sudo apt update && sudo apt install -y curl git && curl -fsSL https://registry.npmmirror.com/-/binary/node/v22.16.0/node-v22.16.0-linux-x64.tar.xz | sudo tar -xJ -C /usr/local --strip-components=1 && npm config set registry https://registry.npmmirror.com && sudo chown -R $USER /usr/local/lib/node_modules /usr/local/bin && npm install -g openclaw@latest
+
+
+
安装完毕后验证:
+
+ 确认安装
+ openclaw --version
+
+
+
+
第 4 步:首次配置(选择 AI 模型 + 输入 API Key)
+
+ 配置向导
+ openclaw onboard
+
+
+
按提示选择模型(推荐 DeepSeek 或 Kimi),输入 API Key。
API Key 获取:DeepSeek | Kimi
+
+
第 5 步:启动 AI 助手
+
+ 启动网关
+ openclaw gateway run --bind lan
+
+
+
看到 listening on ws://0.0.0.0:18789 就是启动成功了。
这个终端窗口不要关,网关在前台运行。
+
+
第 6 步:打开 OpenClaw 控制台
+
+ 自动打开浏览器
+ openclaw dashboard
+
+
+
新开一个终端窗口(Ctrl+Alt+T),输入上面的命令。
会自动打开 Firefox 并跳转到 OpenClaw 控制台(带认证 token)。
也可以手动在浏览器地址栏输入 localhost:18789
+
+
+ 🎉 搞定!OpenClaw 控制台就是你的 AI 助手界面,可以直接和 AI 对话。
+ 下次开机只需 3 步:
+ 1. 连 WiFi
+ 2. 终端输入 openclaw gateway run --bind lan
+ 3. 新终端输入 openclaw dashboard
+
+
+
+
+
+
+
以下是常用命令速查,日常使用时查阅
+
- 启动网关
- openclaw gateway start
+ 启动网关(前台)
+ openclaw gateway run --bind lan
+
+
+
+ 后台启动网关
+ nohup openclaw gateway run --bind lan > /tmp/openclaw.log 2>&1 &
停止网关
- openclaw gateway stop
+ pkill -f openclaw-gateway
+
+
+
+ 打开控制台
+ firefox http://localhost:18789/