# Uninstall

`mapbox uninstall` removes the `mapbox` binary. Stored credentials, other profiles' credential files, and a separately installed `tilesets` binary all survive. Run [`mapbox auth logout`](https://docs.mapbox.com/cli/reference/authentication/#mapbox-auth-logout) first if you also want the current profile's stored credentials gone.

-   [`mapbox uninstall`](#mapbox-uninstall)

## `mapbox uninstall`

Removes the `mapbox` binary this process is running from. At a terminal it asks for confirmation first, the same as any other destructive command; piped or scripted, it proceeds without asking.

**Parameters:**

| Parameter | Description |
| --- | --- |
| `--dry-run` | Describe what this would delete, then exit without deleting it. |

**Examples:**

```sh
mapbox uninstall
mapbox uninstall --yes
mapbox uninstall --dry-run
```