这里写目录标题
常用命令
bash
#### Gateway 管理
# 启动 Gateway
openclaw gateway
# 启动并显示详细日志
openclaw gateway --verbose
# 指定端口启动
openclaw gateway --port 18789
配置管理
sh
# 运行配置向导
openclaw onboard
# 系统健康检查
openclaw doctor
# 查看配置
cat ~/.openclaw/openclaw.json
更新管理
sh
# 更新到最新版本
openclaw update
# 切换到特定频道
openclaw update --channel stable # 稳定版
openclaw update --channel beta # 测试版
openclaw update --channel dev # 开发版
斜杠命令
官方文档:https://docs.openclaw.ai/zh-CN/tools/slash-commands
两个相关系统:
- 命令:独立的 /... 消息。
- 指令:/think、/verbose、/reasoning、/elevated、/exec、/model、/queue。
还有一些内联快捷方式(仅限白名单/授权发送者):/help、/commands、/status、/whoami(/id)。 它们立即运行,在模型看到消息之前被剥离,剩余文本继续通过正常流程。