---
title: "Uninstall the Desktop Agent"
description: "Remove the Desktop Agent and its local data with conbridge-agent kill, and revoke the device in the Console."
canonical: "https://conbridge.app/docs/desktop-agent/uninstall"
updated: "2026-11-17"
author: "ConBridge"
---

# Uninstall the Desktop Agent

`conbridge-agent kill` removes the Desktop Agent from a computer.

It stops the service, removes autostart, deletes the device key, configuration and journal, and takes the command off your PATH. Files in the folders you shared are not touched.

## Remove the agent

```sh
conbridge-agent kill
```

The command asks you to confirm. For scripts, use `kill --yes`; add `--keep-runtime` to keep the downloaded Node.js runtime and launcher while removing identity, configuration and journal. `remove` is an alias of `kill`.

Each cleanup step has a 10-second limit and a failed step does not stop the later ones; the command reports anything left with the exact cleanup command. If the Gateway cannot be reached, you get a warning and the local removal still succeeds. The Console then shows the device offline until you remove it there.

## Remove it without the command

```sh
curl -fsSL https://mcp.conbridge.app/uninstall.sh | sh
```

The script runs `kill --yes` through the installed launcher and falls back to removing the service and the `~/.conbridge` folder directly.

Two smaller commands exist for special cases: `conbridge-agent service uninstall` removes only the background service, and `conbridge-agent unpair` stops the service and removes this computer's identity.

## Revoke the device in the Console

Open **Devices**, choose the computer and revoke it. A revoked device is refused at once, its contexts end and its pending writes are cancelled before they reach the computer. Revoking also removes the security data collected for it. See [disconnect, delete and retention](/docs/data/deletion).
