> ## Documentation Index
> Fetch the complete documentation index at: https://docs2.openclaw.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Hapus instalasi

# `openclaw uninstall`

Copot pemasangan layanan gateway + data lokal (CLI tetap ada).

Opsi:

* `--service`: hapus layanan gateway
* `--state`: hapus state dan konfigurasi
* `--workspace`: hapus direktori workspace
* `--app`: hapus aplikasi macOS
* `--all`: hapus layanan, state, workspace, dan aplikasi
* `--yes`: lewati prompt konfirmasi
* `--non-interactive`: nonaktifkan prompt; memerlukan `--yes`
* `--dry-run`: cetak tindakan tanpa menghapus berkas

Contoh:

```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
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
```

Catatan:

* Jalankan `openclaw backup create` terlebih dahulu jika Anda menginginkan snapshot yang dapat dipulihkan sebelum menghapus state atau workspace.
* `--state` mempertahankan direktori workspace yang dikonfigurasi kecuali `--workspace` juga dipilih.
* `--all` adalah singkatan untuk menghapus layanan, state, workspace, dan aplikasi sekaligus.
* `--non-interactive` memerlukan `--yes`.

## Terkait

* [Referensi CLI](/id/cli)
* [Copot pemasangan](/id/install/uninstall)
