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

# linkapp logout

> Sign out of Linktree

## Usage

```bash theme={"system"}
npx @linktr.ee/linkapp logout [options]
```

Removes the stored token for the selected environment and opens a browser tab to clear the session.

## Options

| Flag         | Description                          | Default |
| ------------ | ------------------------------------ | ------- |
| `--qa`       | Logout from QA instead of production | `false` |
| `-h, --help` | Show help                            | -       |

## Examples

```bash theme={"system"}
npx @linktr.ee/linkapp logout        # Production
npx @linktr.ee/linkapp logout --qa   # QA
```

If the browser does not open, use the printed logout URL to finish signing out.
