UNOUNOCODE

REFERENCE

Environment

Variables Uno reads. Keys may also sit in ./.env or ~/.config/uno/.env.

VariableMeaning
ANTHROPIC_API_KEY, OPENAI_API_KEY, OPENROUTER_API_KEY …A provider's key; each provider's variable is in the table on Providers and models. uno switch saves them in ~/.config/uno/.env
CLOUDFLARE_ACCOUNT_IDThe account for Cloudflare Workers AI, with CLOUDFLARE_API_TOKEN
UNO_<NAME>_API_KEYThe key for a custom gateway named <name> in your settings
OPENAI_COMPAT_API_KEYKey for --provider openai-compat --base-url …
UNO_SPEND_CAP_USDTotal spending cap for this run, over the spend_cap setting; off for none. No cap by default
UNO_SCREENdot or chat
UNO_CONFIG_DIRConfig folder; default ~/.config/uno
UNO_DATA_DIRData folder; default ~/.local/share/uno
NO_COLORNo colour; the dots stay
UNO_VERSION, UNO_INSTALL_DIRFor the installer: which version, and where

Inside commands Uno runs, UNO_AGENT is set, so scripts can tell they are being run by Uno. Hooks also get CLAUDE_PROJECT_DIR.