Documentation

Install the CLI, learn the model and look up every command.

Reference

Environment variables

Every STOREENV_* variable the CLI reads.

Reference 1 min read
STOREENV_PROJECTProject to use, as namespace/name or prj_ id. Same as --project; wins over .storeenv.json.
STOREENV_ENVEnvironment for pull and run, after --env and before storeenv env use and branch rules.
STOREENV_HOMEFolder for everything the CLI keeps. Default: ~/.storeenv.
STOREENV_APIAPI address, for a self hosted StoreEnv. Same as --api.
STOREENV_WEBWeb app address used for sign in links. Default: https://storeenv.app.
STOREENV_PASSPHRASEEncrypt this device's key file with a passphrase you choose instead of the system keychain.
STOREENV_KEYRINGForce where the device key is kept: keychain (macOS), secret-service (Linux keyring), passphrase or file.
STOREENV_DEVICE_NAMEName this device gets when it is enrolled. Default: the computer's name.
STOREENV_RECOVERY_PHRASERecovery phrase for storeenv recover and storeenv keys signing-setup, instead of the hidden prompt. Removed from the environment as soon as it is read.
STOREENV_TRUSTED_KEYSWriters to trust in every project, as "@ana=SE:XXXX-XXXX-XXXX,@bo=SE:...".
STOREENV_LOG_KEYPin the key log's public key, so the first sync on a new machine doesn't trust the server for it.
STOREENV_ALLOW_UNSIGNED1 lets pull and diff use values that aren't signed by a trusted writer, where --allow-unsigned would ask on a terminal. Never applies to run or copy.

Other variables

CIWhen set, the CLI never prompts and takes the default answer where it would ask. Creating a project still needs a typed --yes.
NO_COLORTurns off coloured output, like --no-color.