update
更新 OpenClaw。
使用方法
bash
openclaw update [options]选项
| 选项 | 描述 |
|---|---|
--check | 检查更新 |
--force | 强制更新 |
| `--channel <stable | beta>` |
示例
bash
# 检查更新
openclaw update --check
# 执行更新
openclaw update
# 更新到 beta 版
openclaw update --channel beta
# 强制更新
openclaw update --force更新通道
| 通道 | 描述 |
|---|---|
stable | 稳定版 (默认) |
beta | 测试版 |
dev | 开发版 |
自动更新
在配置中启用自动更新:
json
{
"update": {
"autoCheck": true,
"channel": "stable"
}
}