# logout Command - Nitro

> The `nitro logout` command ends your Nitro CLI session and removes locally stored credentials; afterwards commands need `nitro login` or an `--api-key`.

Canonical source: https://chillicream.com/docs/nitro/cli/logout

The `nitro logout` command logs you out and removes the locally stored session information. After logout, subsequent commands either need a fresh [nitro login](https://chillicream.com/docs/nitro/cli/login) or an explicit `--api-key`.

```
nitro logout
```

[Edit this page on GitHub](https://github.com/ChilliCream/graphql-platform/edit/main/website/content/docs/nitro/cli/logout.md)

Last updated on **June 30, 2026** by **Tobias Tengler**
