---
title: blossom help:env_vars
url: /docs/reference/cli/help/env_vars/
canonical_url: https://blossom88.com/docs/reference/cli/help/env_vars/
markdown_url: https://blossom88.com/docs/reference/cli/help/env_vars.md
summary: Explain CLI environment variables
categories:
  - cli
  - reference
---

# blossom help:env_vars

Explain CLI environment variables

## Usage

    blossom help:env_vars

Blossom CLI environment variables

Environment variables can set global CLI behavior or provide defaults for
command flags.

Authentication and context:

    BLOSSOM_API_URL      Use a specific Blossom API endpoint.
    BLOSSOM_TOKEN        Use an API token without saved login credentials.
    BLOSSOM_ACCOUNT      Assert the token’s Account; does not switch Accounts.
    BLOSSOM_PROFILE      Select a saved local CLI profile for one command.

Output and paging:

    BLOSSOM_OUTPUT       Select output mode: text or json.
    BLOSSOM_COLOR        Select auto, always, or never terminal color.
    BLOSSOM_PAGE_SIZE    Set the page size used by list commands.
    BLOSSOM_PAGER        Select the pager for long interactive text output.

Time and logs:

    BLOSSOM_TIMEZONE     Format log timestamps in a specific timezone.
    BLOSSOM_TIME_FORMAT  Format log timestamps with 12h or 24h time.

Diagnostics:

    BLOSSOM_LOG_LEVEL    Enable CLI diagnostic logs: silent, info, debug, or trace.

Updates:

    BLOSSOM_UPDATE       Override automatic updates: notify, auto, or off.

Official installer releases default to update notices after successful
interactive commands. Save a preference with `blossom update --mode MODE`.
CI, pipes, JSON output, and source builds skip automatic checks. Explicit
`blossom update` still works when automatic updates are off.

Command flag defaults:

Use this pattern:

```text
BLOSSOM_<COMMAND>_<FLAG>
```

Blossom uppercases the command and flag names. Colons and dashes become
underscores.

Examples:

    export BLOSSOM_ENVIRONMENT_SHOW_ID=environment-100
    blossom environment:show

    export BLOSSOM_APP_SHOW_ID=app-100
    blossom app:show

Explicit flags win over environment defaults:

    export BLOSSOM_ENVIRONMENT_SHOW_ID=environment-100
    blossom environment:show --id environment-200

Boolean values must be `true` or `false` when used as command flag defaults:

    export BLOSSOM_LOGS_FOLLOW=true
    blossom logs --environment environment-100

Docs:

    https://blossom88.com/docs/blossom-cli/environment-defaults/
