Skip to content

Environment variables

The variables below are the ones the tally binary’s own help text documents. If a variable is not on this page, the CLI does not document honoring it.

Variable What it does Documented by
TALLY_HOME Overrides the resolved tally home / config directory tally config (all subcommands)
SKYTALE_API_KEY The owner API key used to provision a seat tally connect, tally init
SKYTALE_API_URL API base URL (default https://api.skytale.sh) tally connect
TALLY_RELAY_URL The relay the seat publishes to tally push
TALLY_RELAY_JWT The relay credential paired with the relay URL tally push
VISUAL / EDITOR The editor used for document edits tally memory edit, tally character edit

tally config reads and writes the non-secret CLI config and honors $TALLY_HOME; tally config path prints the resolved config directory. The <tally_home> placeholder that appears elsewhere in the help text refers to this same home: tally connect stores the relay credential at <tally_home>/relay.json, community adapters install under <tally_home>/adapters/, and per-agent seat homes live at <tally_home>/agents/<name>/.

The owner API key for provisioning. tally connect takes --api-key and otherwise reads $SKYTALE_API_KEY. The tally init help shows the same variable driving the connect step of onboarding:

Terminal window
SKYTALE_API_KEY=sk_live_... tally init

tally connect --api-url defaults to $SKYTALE_API_URL, or https://api.skytale.sh when unset.

tally push requires a configured relay (TALLY_RELAY_URL plus TALLY_RELAY_JWT); when they are unset, the tally push output tells you what to do. tally connect normally provisions the relay credential for you, so most users never set these by hand.

tally memory edit and tally character edit open the document in $VISUAL/$EDITOR and save the result as a new hash-chained version.