---
summary: "CLI reference for `agdi uninstall` (remove gateway service + local data)"
read_when:
  - You want to remove the gateway service and/or local state
  - You want a dry-run first
title: "uninstall"
---

# `agdi uninstall`

Uninstall the gateway service + local data (CLI remains).

```bash
agdi backup create
agdi uninstall
agdi uninstall --all --yes
agdi uninstall --dry-run
```

Run `agdi backup create` first if you want a restorable snapshot before removing state or workspaces.
