---
title: logout
description: API reference for the `turbo logout` command
product: turborepo
type: reference
summary: Reference for the `turbo logout` command that signs out of your Remote Cache provider.
related:
  - /docs/reference/login
  - /docs/reference/unlink
---

Log out of the account associated with your Remote Cache provider.

```bash title="Terminal"
turbo logout
```

## Flags

### `--invalidate [<BOOL>]`

Invalidate the token on the server. Defaults to `true`.

Pass `--invalidate=false` to remove the local token without revoking it on the server.

```bash title="Terminal"
turbo logout --invalidate=false
```
