DOCS / CLI REFERENCE

cluck login

Authenticates the CLI.

Synopsis

cluck login [--token T]

Description

Authenticates the CLI. By default it opens a browser; in CI, pass a token instead.

Options

FlagDescription
--token TUse an API token (for CI)
--sso DOMAINStart the SSO flow for a domain
--no-browserPrint the URL instead of opening it

All commands also accept the global flags --coop, --json, --quiet, and --no-color, plus --help, which prints this page in a smaller font.

Example

$ cluck login
Opening browser...
✔ Logged in as [email protected]
🐓 Bawk!

Exit codes

0Success. A quiet cluck.
1The command ran but reported a problem, such as a failing check.
2Bad usage: a flag was missing or invalid.
3Authentication or permission error. See HEN-2001.

Used in guides

Common errors

Related commands