Skip to content

tori env

the environment this app's containers are started with

npx tori.host env list

A change applies on the next deploy, not immediately: each deploy takes a snapshot of the environment, so a revision that is already running keeps the one it started with. Run tori deploy afterwards for the change to take effect.

Names must start with a capital letter and hold only A-Z, 0-9 and underscores. The app is read from ./tori.json, so run these from the project directory.

  • --no-browser — sign in with a code you type on another device (chosen automatically over SSH or with no DISPLAY)
  • tori env list — list this app's environment variables
  • tori env set KEY=VALUE — set an environment variable
  • tori env unset KEY — remove an environment variable
Terminal window
npx tori.host env set LOG_LEVEL=info
Terminal window
npx tori.host env list

This reference matches tori.host@0.9.7.

Download this page as Markdown.