Uninstall

CLI reference for `openclaw uninstall` (remove gateway service + local data)

openclaw uninstall

Uninstall the gateway service + local data (CLI remains).

Options:

  • --service: remove the gateway service
  • --state: remove state and config
  • --workspace: remove workspace directories
  • --app: remove the macOS app
  • --all: remove service, state, workspace, and app
  • --yes: skip confirmation prompts
  • --non-interactive: disable prompts; requires --yes
  • --dry-run: print actions without removing files

Examples:

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

Notes:

  • Run openclaw backup create first if you want a restorable snapshot before removing state or workspaces.
  • --all is shorthand for removing service, state, workspace, and app together.
  • --non-interactive requires --yes.
  • [CLI reference](/docs/openclaw-docs/cli
  • [Uninstall](/docs/openclaw-docs/install/uninstall