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

# Logout

> Log out of the CLI and remove stored credentials.

Log out of the CLI. This removes the stored credentials for the current user.

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

To log out a specific user profile, use the global `-u, --user` flag. Without it, the CLI logs out the user selected by the active [context](https://docs.nscale.com/docs/cli/contexts.md), or `default`:

```bash theme={null}
nscale logout --user <username>
```

`logout` never asks for confirmation, so it runs unattended as is, including under `--ci`.
