Skip to main content
OpenClaw CLI 提供了管理智能体、渠道和 Gateway 的完整命令集。

安装 CLI

npm install -g openclaw@latest

常用命令

智能体管理

openclaw agent          # 智能体操作
openclaw agents         # 列出所有智能体

渠道管理

openclaw channels       # 管理聊天渠道
openclaw pairing        # 渠道配对

Gateway 操作

openclaw gateway        # Gateway 管理
openclaw health         # 健康检查
openclaw status         # 状态查看
openclaw logs           # 日志查看

配置

openclaw configure      # 交互式配置
openclaw setup          # 初始设置
openclaw models         # 模型配置

命令参考

获取帮助

openclaw --help         # 显示所有命令
openclaw <command> -h   # 特定命令帮助
Last modified on February 12, 2026