Overview
defenseclaw uninstall — Uninstall DefenseClaw (reversibly by default).
Reference
Synopsis
defenseclaw uninstall [OPTIONS]
Description
Uninstall DefenseClaw (reversibly by default)
Options
| Flag | Type | Default | Env var | Required | Description |
|---|---|---|---|---|---|
--all | boolean | — | — | no | Also delete ~/.defenseclaw (audit log, config, secrets). |
--binaries | boolean | — | — | no | Additionally remove the defenseclaw + defenseclaw-gateway binaries from ~/.local/bin. |
--keep-openclaw | boolean | — | — | no | Do NOT revert ~/.openclaw/openclaw.json or remove the plugin. |
--dry-run | boolean | — | — | no | Show what would happen without touching the system. |
--yes | boolean | — | — | no | Skip the confirmation prompt. |
Usage
Preview removal
defenseclaw uninstall --dry-run
Dry-run prints the paths and binaries that would be removed.
Remove DefenseClaw state
defenseclaw uninstall --all --yes
defenseclaw uninstall --binaries --keep-openclaw --yes
--all removes local DefenseClaw state; --keep-openclaw preserves the OpenClaw installation when removing binaries.