> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/nemoclaw/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/nemoclaw/_mcp/server.

# Uninstall NemoClaw

> Remove NemoClaw while choosing whether to preserve host-side backups, registry state, OpenShell, and models.

Use the built-in uninstall command when the installed CLI is available.

```bash
nemohermes uninstall
```

| Flag                  | Effect                                                                                   |
| --------------------- | ---------------------------------------------------------------------------------------- |
| `--yes`               | Skip the confirmation prompt.                                                            |
| `--keep-openshell`    | Leave OpenShell binaries installed.                                                      |
| `--delete-models`     | Also remove NemoClaw-pulled Ollama models.                                               |
| `--destroy-user-data` | Also remove preserved user data in `rebuild-backups/`, `backups/`, and `sandboxes.json`. |
| `--gateway <name>`    | Override the gateway name to remove. The default is `nemoclaw`.                          |

The uninstall command preserves `~/.nemoclaw/rebuild-backups/`, `~/.nemoclaw/backups/`, and `~/.nemoclaw/sandboxes.json` by default.
Uninstall removes every other entry under `~/.nemoclaw/`.

Interactive runs prompt before they remove the preserved entries, and the default answer keeps them.
For non-interactive runs using `--yes`, `NEMOCLAW_NON_INTERACTIVE=1`, or a non-TTY shell, pass `--destroy-user-data` or set `NEMOCLAW_UNINSTALL_DESTROY_USER_DATA=1` to acknowledge data loss and remove the preserved entries.

`--yes` stays non-destructive by design and never purges preserved user data on its own.
Preserving `sandboxes.json` does not preserve the gateway registration, provider registrations, or Docker image its recorded sandboxes depend on.

Uninstall warns that those records cannot be recovered automatically on reinstall, and the remediation is `nemohermes <name> destroy` followed by `nemohermes onboard`.

The CLI command runs the version-pinned `uninstall.sh` that shipped with the installed CLI, so it does not fetch anything over the network at uninstall time.

If the CLI is missing or broken, use the hosted script:

```bash
curl -fsSL https://raw.githubusercontent.com/NVIDIA/NemoClaw/refs/heads/main/uninstall.sh | bash
```

The same flags apply to the hosted script.
Pass them after `bash -s --`:

```bash
curl -fsSL https://raw.githubusercontent.com/NVIDIA/NemoClaw/refs/heads/main/uninstall.sh | bash -s -- --yes --delete-models
```

## Related Topics

* [Host Files and State](../../reference/host-files-and-state) for the complete host-side file and preservation reference.
* [`nemohermes uninstall`](../../reference/commands#nemohermes-uninstall) for the full command contract and hosted-script comparison.
* [Create and Restore Snapshots](../state-and-backups/create-and-restore-snapshots) before removing state you may need later.