Light Logo
CLI (v0.44.0)

Environment Variables

Environment variables supported by the WriftAI CLI

WRIFTAI_ACCESS_TOKEN

Purpose: Provides the access token so you can skip the wriftai auth login command.

Default: Not set.

When to Use:

  • Running commands in non-interactive environments.
  • Avoiding repeated logins.

WRIFTAI_API_BASE_URL

Purpose: Defines the base URL for all requests made by the CLI to WriftAI's API.

Default: https://api.wrift.ai/v1

When to Use:

  • Point the CLI to a different API instance.

WRIFTAI_MODEL_REGISTRY_HOST

Purpose: Specifies the host used by the CLI when making requests to WriftAI's Model Registry.

Default: mr.wrift.ai

When to Use:

  • Point the CLI to a different Model Registry instance.

NO_COLOR

Purpose: Disables colored output in the CLI.

Default: Not set (colors enabled when supported).

When to Use:

  • Running the CLI in environments that don’t support ANSI colors.
  • Capturing output for logs, CI systems, or file redirection.
  • Ensuring consistent, plain-text output.

Notes:

  • If set to any value, colored output is disabled.