`openclaw update`
安全更新 OpenClaw 并在 stable/beta/dev 渠道之间切换。 如果你通过 npm/pnpm 安装(全局安装,无 git 元数据),更新通过 更新 中的包管理器流程进行。 用法 openclaw update openclaw update status openclaw update wizard openclaw update --channel beta openclaw update --channel dev openclaw update --tag beta openclaw update --no-restart openclaw update --json openclaw --update 选项 --no-restart:成功更新后跳过重启 Gateway 网关服务。 --channel <stable|beta|dev>:设置更新渠道(git + npm;持久化到配置中)。 --tag <dist-tag|version>:仅为本次更新覆盖 npm dist-tag 或版本。 --json:打印机器可读的 UpdateRunResult JSON。 --timeout <seconds>:每步超时时间(默认 1200 秒)。 注意:降级需要确认,因为旧版本可能会破坏配置。 update status 显示当前更新渠道 + git 标签/分支/SHA(对于源码检出),以及更新可用性。 openclaw update status openclaw update status --json openclaw update status --timeout 10 选项: ...