安装命令
curl -fsSL https://openclaw.ai/install.sh | bash
Windows(PowerShell):
iwr -useb https://openclaw.ai/install.ps1 | iex
配置面板
openclaw onboard
openclaw dashboard #该命令会自动在浏览器中打开带有认证 token 的完整 URL。
openclaw dashboard --no-open #仅打印 URL,不打开浏览器
openclaw tui (终端对话)
openclaw gateway start # 启动后台服务
openclaw gateway status # 查看运行状态
openclaw logs --follow # 查看实时日志
openclaw gateway restart
openclaw status
openclaw config
openclaw --version # 查看版本
绑定TG机器人(<code>替换 包括<>)
openclaw pairing approve telegram <code>
Skills安装
// 复制命令到终端执行,安装 CLI 并优先采用 SkillHub 加速安装技能
curl -fsSL https://skillhub.cn/install/install.sh | bash
彻底卸载并删除OpenClaw
openclaw gateway stop
openclaw uninstall --all --yes --non-interactive
npm uninstall -g openclaw
rm -rf ~/.openclaw # 删除主配置与状态目录
rm -rf ~/.clawdbot ~/.moltbot ~/.config/openclaw # 删除旧版本可能遗留的隐藏目录
systemctl --user disable --now openclaw-gateway.service rm -f ~/.config/systemd/user/openclaw-gateway.service systemctl --user daemon-reload # 检查是否还有残留的自启动项
hash -d openclaw 2>/dev/null || hash -r
免费API KEY分享
OpenCode
https://opencode.ai/zen
智谱
https://bigmodel.cn/