Skip to content
Docs

inquir login

Authenticate a device or sign in with a Personal Access Token.

@inquir/compute-cliv0.3.0 · Node.js 22+

Usage#

inquir loginbash
inquir login [options]

Options#

OptionDescription
--token <pat>Sign in non-interactively with a PAT.
--browserlessPrint the pairing URL and code without opening a browser.
--name <name>Label this device/token in the dashboard.
--api-url <url>Authenticate against this API endpoint.
--env <name>Use a named CLI credential environment.

Global flags, environments and CLI credentials

Examples#

Example 1bash
inquir login
Example 2bash
inquir login --browserless
Example 3bash
inquir login --name ci-runner

Behavior#

Complete browser pairing with the displayed code. Use a named environment for a separate API or account.

Guides#