Files
coder/docs/reference/cli/login_token.md
Kacper Sawicki d09300eadf feat(cli): add 'coder login token' command to print session token (#21627)
Adds a new subcommand to print the current session token for use in
scripts and automation, similar to `gh auth token`.

## Usage

```bash
CODER_SESSION_TOKEN=$(coder login token)
```

Fixes #21515
2026-01-29 16:06:17 +01:00

223 B
Generated

login token

Print the current session token

Usage

coder login token

Description

Print the session token for use in scripts and automation.