Skip to content

Configuration

Config file

~/.tracker.yaml stores CLI state (permissions 0600). Created by tracker auth login.

tracker config commands

tracker config show              # Print all config values
tracker config get KEY           # Print a single value
tracker config set KEY VALUE     # Set a value

Available keys: server, cluster, token, user, refresh_token, token_expires_at, auth_client_id. Secrets (token, refresh_token) are redacted in show and get output.

Environment variables

Variable Description
TRACKER_SERVER Override the server URL
TRACKER_TOKEN Override the auth token (disables auto-refresh)
TRACKER_NO_UPDATE_CHECK=1 Skip the version check on startup

Multiple environments

To switch between tracker servers, either set the environment variable:

TRACKER_SERVER=https://tracker.other-env.example.com tracker run ...

Or update the config file:

tracker config set server https://tracker.other-env.example.com