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

# nanny uninstall

> Remove the nanny binary from its current install location.

Removes the `nanny` binary from its current install location.

```bash theme={null}
nanny uninstall
```

Works on all platforms. On Windows, the running executable cannot delete itself, `nanny uninstall` spawns a hidden background process that waits for nanny to exit, then removes the binary and cleans up your PATH automatically. Restart your terminal after uninstalling.

***

## Errors

| Condition | Behaviour |
| - | - |
| Homebrew installation detected | Exits with an error and prints the correct `brew uninstall nannyd` command |
| Insufficient permissions (macOS / Linux) | Exits with an error and prints a `sudo rm` fallback |
| Binary path cannot be determined | Exits with an error |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.