Skip to Content
CommandsEnvironment Variables

Environment Variables

This page documents environment variables supported by the Bytesalt CLI.

Authentication

BYTESALT_CLIENT_ID and BYTESALT_CLIENT_SECRET

Client credentials used together for non-interactive authentication (for example, CI/CD jobs).

For CI/CD, set both BYTESALT_CLIENT_ID and BYTESALT_CLIENT_SECRET as secure secrets in your pipeline.

CLI Output

NO_COLOR

Disables ANSI color output when set.

Use this when you want to force plain, uncolored output (for example in CI logs).

Examples:

export NO_COLOR=1

BYTESALT_CHARSET

Controls which character set is used for CLI symbols and spinner frames.

  • auto (default): Uses ASCII on Windows, Unicode on macOS/Linux.
  • ascii: Forces ASCII symbols.
  • unicode: Forces Unicode symbols.

Examples:

# Force ASCII symbols export BYTESALT_CHARSET=ascii # Force Unicode symbols export BYTESALT_CHARSET=unicode

Behavior

BYTESALT_AUTO_UPDATE

Controls automatic CLI self-update behavior.

  • If unset, by default, auto-update is enabled in interactive environments and disabled in CI.

Examples:

# Enable auto-update export BYTESALT_AUTO_UPDATE=1 # Disable auto-update export BYTESALT_AUTO_UPDATE=0

CI

When CI is set, the CLI treats the environment as non-interactive.

This affects behavior like:

  • disabling interactive terminal UI modes
  • requiring non-interactive auth (BYTESALT_CLIENT_ID / BYTESALT_CLIENT_SECRET) when login is needed

Examples:

export CI=1
Last updated on