Skip to main content
Run the command like this:
When the CLI opens your browser, approving the login sends you back to the CLI automatically. If the browser is on another machine, for example when you’re connected over SSH, use --no-browser: after you approve, the page shows a code to paste into the terminal.

Options

--no-browser
Do not open the browser. Print the URL only, and finish the login by pasting the code shown after you approve.
--code <code>
Finish a pending login with the code shown in your browser. Use this after --no-wait, or when the terminal can’t prompt for the code.
--email <email>
Prefill the email on the login page.
--name <name>
Set your name after authorization. Only applies to a new account that has not set its details yet.
--cancel-pending
Cancel a pending login and keep the current account.
--no-wait
Save the authorization and exit so login can be resumed later.

Common options

These options are available on most commands.
--profile
The login profile to use. Defaults to the current profile, which is set by your last login or switch (initially “default”).
--api-url | -a
Override the default API URL. If not specified, it uses https://api.trigger.dev. This can also be set via the TRIGGER_API_URL environment variable.
--log-level | -l
The CLI log level to use. Options are debug, info, log, warn, error, and none. This does not affect the log level of your trigger.dev tasks. Defaults to log.
--skip-telemetry
Opt-out of sending telemetry data. This can also be done via the TRIGGER_TELEMETRY_DISABLED environment variable. Just set it to anything other than an empty string.
--help | -h
Shows the help information for the command.
--version | -v
Displays the version number of the CLI.