Skip to main content
lofty-cli is configured through environment variables, on-disk config files, and per-invocation flags. Everything has a sensible default — you only need to override what is relevant to your environment.

Environment variables

See Authentication for the full priority order between these variables.

Global flags

These flags are accepted by every command: See Output formats for examples of each format.

On-disk files

If you want a fully ephemeral run (e.g. inside a container), set every credential via environment variables and never invoke auth set — no files will be written.

Aliases

Many commands accept short option aliases for ergonomics. The full mapping ships inside the package; run a command with --help to see what is available, for example:
Aliases never conflict with long options — you can mix them in the same invocation.

Output character encoding

The CLI emits UTF-8 unconditionally. On Windows terminals, set the code page once per session if your output looks garbled:

Locking the CLI version

For reproducible automation, install a specific version rather than @latest:
Pinning is especially recommended for CI: a minor version bump can introduce new flags or change defaults.