Skip to main content
The CLI reads its configuration from environment variables at startup. They’re the right place to set credentials and overrides in CI, Docker, or shell scripts that drive multiple commands.

Reference

Order of precedence

For overlapping settings, CLI flags win over environment variables, which win over saved profiles or defaults: API tokens are the exception. TALKVALUE_TOKEN in the environment always overrides any saved profile and has no flag equivalent. See Authentication.

Common setups

CI environment

The token replaces interactive login. Store it in your CI provider’s secret store.

Docker

Inject the token at build or run time depending on your secrets workflow.

Multiple profiles in one shell

Staging API