跳轉到主要內容

Documentation Index

Fetch the complete documentation index at: https://docs.openclaw.ai/llms.txt

Use this file to discover all available pages before exploring further.

openclaw uninstall

解除安裝 Gateway 服務 + 本機資料(CLI 保留)。 選項:
  • --service:移除 Gateway 服務
  • --state:移除狀態和設定
  • --workspace:移除工作區目錄
  • --app:移除 macOS app
  • --all:移除服務、狀態、工作區和 app
  • --yes:略過確認提示
  • --non-interactive:停用提示;需要 --yes
  • --dry-run:列印動作但不移除檔案
範例:
openclaw backup create
openclaw uninstall
openclaw uninstall --service --yes --non-interactive
openclaw uninstall --state --workspace --yes --non-interactive
openclaw uninstall --all --yes
openclaw uninstall --dry-run
注意事項:
  • 如果你想在移除狀態或工作區之前建立可還原的快照,請先執行 openclaw backup create
  • --all 是同時移除服務、狀態、工作區和 app 的簡寫。
  • --non-interactive 需要 --yes

相關