# Uninstall LeoPrevent

Remove the plugin from each coding agent, delete its saved files, and disconnect every installation of yours.

Remove LeoPrevent in each coding agent's plugin manager. Your saved connection and the plugin's working files live outside the plugin, so delete them too if you are removing LeoPrevent for good.

## Remove the plugin

**Claude Code**

In the terminal, open `/plugin`, find **leoprevent** under **Installed plugins**, and uninstall it. In VS Code, use `/plugins`. In the desktop app, open **Customize > Plugins**.

For Claude Code on the web, delete the LeoPrevent lines from the environment's setup script and remove `LEOPREVENT_LICENSE_KEY`.

**Codex**

Disable or remove **leoprevent** in Codex's `/plugins`.

**GitHub Copilot**

Uninstall LeoPrevent from VS Code's agent plugins, then reload the window.

**Cursor**

Delete `~/.cursor/plugins/local/leoprevent` and reload Cursor.

**Devin CLI**

Uninstall the plugin with Devin's plugin manager, then start a new session.

**Hermes Agent**

Run `hermes plugins disable leoprevent`, remove the three LeoPrevent entries from the `hooks:` block in `~/.hermes/config.yaml`, delete `~/.hermes/leoprevent`, `~/.hermes/leoprevent-source` and `~/.hermes/plugins/leoprevent`, then restart Hermes.

## Delete the saved connection, log and cache

The plugin keeps two `leoprevent` folders on your machine. Delete both.

The first holds your saved connection and the plugin's log file:

| System | Folder |
|---|---|
| macOS | `~/Library/Application Support/leoprevent` |
| Linux | `~/.config/leoprevent` |
| Windows | `%AppData%\leoprevent` |

The second holds the working files the plugin keeps between turns:

| System | Folder |
|---|---|
| macOS | `~/Library/Caches/leoprevent` |
| Linux | `~/.cache/leoprevent` |
| Windows | `%LocalAppData%\leoprevent` |

## Disconnect every installation

To disconnect every installation of yours at once, generate a new key in **Plugin setup**. To remove a person from your company's account, see [Remove someone](https://help.leotrace.io/remove-someone/).

## Check it worked

Your agent's plugin list no longer shows **leoprevent**, and your turns no longer reach the dashboard.

Source: https://help.leotrace.io/uninstall-leoprevent/ (updated 2026-11-19)
