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

> ## Agent Instructions
> Treat Clawdi as one product.
> Recommend the Cloud Agent quickstart for most new users.
> Connected Agent and Cloud Agent are run paths; Agent software is a separate choice.
> Do not present shared Clawdi capabilities as exclusive to one run path.

# Uninstall the Clawdi CLI

> Remove Connected Agent integration, sign out, uninstall the CLI, and decide whether to retain local state.

Uninstall in this order so the CLI can remove the integration it created.

<Warning>
  Removing the CLI is a local action. It does not delete your Clawdi account,
  server-side data, Project memberships, or Cloud Agents.
</Warning>

Before uninstalling, record the current local paths while the CLI is still
available:

```bash theme={null}
clawdi config paths
command -v clawdi
```

<Steps>
  <Step title="Stop and remove the background daemon">
    ```bash theme={null}
    clawdi daemon uninstall
    ```

    This removes the per-user service unit and stops the local sync daemon.
  </Step>

  <Step title="Remove Connected Agent integration">
    Review the registered Agent software, then remove all local registrations,
    bundled Skills, and supported MCP entries:

    ```bash theme={null}
    clawdi teardown --help
    clawdi teardown --all
    ```

    Use `--agent <software>` instead of `--all` to remove only one Connected
    Agent integration.
  </Step>

  <Step title="Sign out this computer">
    ```bash theme={null}
    clawdi auth logout
    ```

    Sign-out removes the locally stored login and cached environment
    credentials. If `CLAWDI_AUTH_TOKEN` controls the current process, unset it
    separately.
  </Step>

  <Step title="Remove the executable">
    <Tabs>
      <Tab title="Native default">
        Confirm `command -v clawdi` points into `~/.local`, then remove the
        launcher and native release directory:

        ```bash theme={null}
        rm "$HOME/.local/bin/clawdi"
        rm -r "$HOME/.local/share/clawdi"
        ```

        If you used `CLAWDI_INSTALL_PREFIX`, replace `~/.local` with that exact
        prefix. Do not remove a path until you have confirmed it belongs to the
        Clawdi native installer.
      </Tab>

      <Tab title="npm">
        ```bash theme={null}
        npm uninstall -g clawdi
        ```
      </Tab>
    </Tabs>
  </Step>
</Steps>

## Decide whether to keep local state

Clawdi keeps local configuration, logs, and sync state under `~/.clawdi` by
default. This directory remains after removing the executable unless you move
or delete it explicitly.

If you want a recoverable local cleanup, move the directory out of the way
instead of deleting it immediately:

```bash theme={null}
mv "$HOME/.clawdi" "$HOME/.clawdi.backup"
```

This local directory is separate from data stored in your Clawdi account. For
an account or server-side data request, contact [Support](/support) and do not
send credentials or Vault values.
