Environment variables
Docs/Reference/Environment variables

Environment variables

Edit on GitHub
docs-site/reference/environment.md

A variable and the config key it stands for are the same setting. Where both exist, the variable wins for that one process.

Using orrery

VariableEffect
HOME · USERPROFILEWhere ~/.orrery is: your user layer, trust answers, extensions, skills and agents.
ORRERY_THEMEThe palette the TUI starts in.
NO_COLOR · TERM=dumbDraw in mono.
ORRERY_GRAPHICSHow the animated mark is drawn: kitty, iterm2, sixel or none. Overrides the terminal probe.
ORRERY_NODE_TOKENThe token orrery attach presents, instead of --token.
ORRERY_NO_AUTOSTART1: orrery node join does not install the start-at-login. Same as --no-autostart.
ORRERY_TLS_CAA PEM file of extra certificate authorities, for the relay and the control plane. Same as cloud.tls_ca.

Provider keys

A provider reads the variables it declares when its own table has no apiKey, for example GEMINI_API_KEY or ANTHROPIC_API_KEY. orrery providers status shows which one a setup uses.

Any variable can be named from a config file as "$VAR":

[providers.groq]
apiKey = "$GROQ_API_KEY"

The installer

Read by install.sh and install.ps1 only.

VariableEffect
ORRERY_VERSIONInstall this version instead of the latest.
ORRERY_INSTALL_DIRWhere the binary goes.
ORRERY_WITH_RELAY1 also installs orrery-relay.
ORRERY_RELAYJoin this relay with a device code, then start the node at login.
ORRERY_JOIN_ENVA cloud instance's join file: join without a device code.
ORRERY_JOIN_KINDIn a join file: instance (default) or machine, the kind of one-time token it holds.
ORRERY_MANIFEST_URLThe release manifest to read.

Set by orrery for what it starts

Read these in a client or extension; do not set them yourself.

VariableMeaning
ORRERY_ENDPOINTThe channel a client extension talks to the host on.
ORRERY_TOKENA one-time secret for that channel.
ORRERY_CONFORMANCE1 when orrery install starts a client in probe mode to check its fixtures.