入门目标
从零开始,以最少的设置完成第一次工作聊天。
最快的聊天方式
打开控制 UI(无需频道设置):
openclaw dashboard
然后在浏览器中聊天,或在 http://127.0.0.1:18789/ 上打开。
文档: Dashboard 和 Control UI
前提条件
- Node 22 或更新版本
检查您的 Node 版本:
node --version
快速设置(CLI)
步骤 1: 安装 OpenClaw
macOS/Linux:
curl -fsSL https://openclaw.ai/install.sh | bash
Windows (PowerShell):
iwr -useb https://openclaw.ai/install.ps1 | iex
其他安装方法和要求: Install
步骤 2: 运行引导向导
openclaw onboard --install-daemon
openclaw gateway status
步骤 4: 打开控制 UI
openclaw dashboard
如果控制 UI 加载成功,您的 Gateway 已准备好使用。
可选检查和额外功能
在前台运行 Gateway
适用于快速测试或故障排除:
openclaw gateway --port 18789
发送测试消息
需要配置频道:
openclaw message send --target +15555550123 --message "Hello from OpenClaw"