---
title: "tori env"
description: "the environment this app's containers are started with"
---

the environment this app&#39;s containers are started with

## Usage

```
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.

## Options

- `--no-browser` — sign in with a code you type on another device (chosen automatically over SSH or with no DISPLAY)

## Subcommands

- `tori env list` — list this app&#39;s environment variables
- `tori env set KEY=VALUE` — set an environment variable
- `tori env unset KEY` — remove an environment variable


## Examples

### Set a variable

```sh
npx tori.host env set LOG_LEVEL=info
```

### List masked values

```sh
npx tori.host env list
```

This reference matches `tori.host@0.9.7`.

Download this page as [Markdown](/downloads/markdown/cli/env.md).
