以下是 OpenClaw 的常用命令行:

🦞 常用命令速查

基础命令

命令 说明
openclaw --help 显示帮助
openclaw status 查看状态和各频道健康情况
openclaw version 显示版本

配置与设置

命令 说明
openclaw setup 初始化配置和工作区
openclaw configure 交互式配置向导(凭证、频道、网关)
openclaw config get <key> 获取配置项
openclaw config set <key> <value> 设置配置项

网关管理(核心服务)

命令 说明
openclaw gateway start 启动 Gateway 服务
openclaw gateway stop 停止 Gateway
openclaw gateway status 查看 Gateway 状态
openclaw gateway restart 重启 Gateway

消息发送

命令 说明
openclaw message send --target <ID> --message "内容" 发送消息
openclaw agent --to <ID> --message "内容" --deliver 通过 Gateway 直接对话 agent

频道管理

命令 说明
openclaw channels list 列出已连接频道
openclaw channels login 登录频道(如 WhatsApp Web)

设备与会话

命令 说明
openclaw devices list 列出配对设备
openclaw sessions list 列出会话
openclaw nodes status 查看节点状态

浏览器控制

命令 说明
openclaw browser start 启动浏览器
openclaw browser snapshot 截取浏览器快照

技能与插件

命令 说明
openclaw skills list 列出可用技能
openclaw plugins list 列出插件

健康检查

命令 说明
openclaw doctor 诊断并修复问题
openclaw health 获取 Gateway 健康状态

提示: 任何命令后加 --help 可查看子命令详情,例如 openclaw gateway --help

Logo

Agent 垂直技术社区,欢迎活跃、内容共建。

更多推荐