# logout

Learn how to log out the current user.

This command terminates your current session and securely removes any stored authentication tokens from your local machine.

## Usage

This command has the following syntax:

```sh
croct logout
```

## Example

Log out the current user:

```sh
croct logout
```

## Options

This command only accepts [global options](../global-options).

## Explore

- [Login](/reference/cli/commands/login): Learn how to authenticate your session.
- [Login credentials](/reference/cli/commands/login-credentials): Learn how to authenticate using email and password.
