# gt: General Translation CLI tool: gt logout
URL: https://generaltranslation.com/en-US/docs/cli/reference/commands/logout.mdx
Docs index: https://generaltranslation.com/llms.txt
Description: Remove your saved CLI account session. API reference for the gt logout command.

Sign out of your account on this machine without changing your project's configuration.

## Overview [#overview]

```bash
npx gt logout
```

| Option | Description |
| --- | --- |
| [Global options](#flags) | Output, compatibility checks, and help; no command-specific flags. |

## How it works [#how-it-works]

The command attempts to revoke your saved login and remove its local credentials. A warning means remote revocation could not be confirmed. Failure to remove local credentials fails the command. The credentials file is removed when no saved logins remain. (See [session storage](/docs/cli/reference/commands/login#storage)).

Logout does not revoke API keys, remove `.env.local`, or clear `GT_API_KEY`. An explicit key can still authenticate hosted commands after logout.

## Flags [#flags]

There are no command-specific flags. The [global options](/docs/cli/reference/global-options) apply.

To sign in again, use [`gt login`](/docs/cli/reference/commands/login).

## Sitemap

See the full [sitemap](https://generaltranslation.com/sitemap.md) for all pages.
