uninstall
卸载网关服务 + 本地数据(CLI 保留)。
用法
bash
openclaw uninstall [选项]选项
--service: 卸载服务--state: 删除状态目录--workspace: 删除工作区--app: 删除应用--all: 全部删除--yes: 自动确认--non-interactive: 非交互模式--dry-run: 干运行(不实际执行)
注意事项
--non-interactive 需要 --yes 和明确的范围(或 --all)。
示例
bash
# 交互式卸载
openclaw uninstall
# 仅卸载服务
openclaw uninstall --service --yes
# 卸载服务和状态
openclaw uninstall --service --state --yes
# 完全卸载
openclaw uninstall --all --yes
# 干运行
openclaw uninstall --all --dry-run
# 非交互式
openclaw uninstall --all --yes --non-interactive卸载后
卸载后如需重新安装:
bash
curl -fsSL https://openclaw.bot/install.sh | bash
openclaw onboard相关命令
- reset - 重置
- gateway uninstall - 卸载网关服务