Skip to main content

Environment variables

The Seqera CLI reads the following environment variables for authentication and for pointing development builds at a backend.

VariableDescription
SEQERA_ACCESS_TOKENPlatform access token for non-interactive use. When set, the CLI skips the browser login flow and uses this token directly.
SEQERA_AI_BACKEND_URLCo-Scientist backend endpoint used by the CLI.
SEQERA_AUTH_DOMAINPlatform API base URL used for browser-based login.
SEQERA_AUTH_CLI_CLIENT_IDOAuth client ID for the Seqera CLI.
TOWER_ACCESS_TOKENPlatform personal access token used instead of browser login.
note

SEQERA_AUTH_DOMAIN and SEQERA_AUTH_CLI_CLIENT_ID are only needed for the OAuth login flow when pointing a development build at the hosted Co-Scientist backend. See Authentication for the full setup.

Learn more

  • Authentication: Log in, log out, and manage tokens
  • Installation: Install, update, and configure the CLI
  • CLI: Seqera CLI commands and options
  • Skills: Built-in skills, slash commands, and session limits
On this Page