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

# logout

> Log out from Alpic and remove stored OAuth credentials

Removes the OAuth credentials stored on this machine. Has no effect if no credentials are stored.

## Usage

```bash theme={null}
alpic logout
```

Clears locally stored OAuth tokens.

## Extended Usage

```bash theme={null}
# Log out and then log back in as a different user
alpic logout
alpic login
```

<Note>
  This command only removes OAuth tokens. If you authenticate via `ALPIC_API_KEY`, unset the environment variable to
  stop using that key.
</Note>

## Options

This command has no flags.
