# CLI reference

Source: https://tiltas.openpanel.sh/docs/cli

> Every tiltas command, its flags and what it prints.

`tiltas` signs a Device in, connects it and reports what it is. It talks to `tiltasd`, the engine, which runs as a service: on Linux `install.sh` installs both, on Windows the app does. The Mac app runs an engine of its own, which this command does not control.

Run commands that change the engine with `sudo` on Linux and macOS. Add `--help` after any command for the same text as here.

This reference is for version 1.104.7.

## Commands

| Command | What it does |
|---|---|
| [`tiltas up`](/docs/cli/up) | Sign this Device in to its Network and connect |
| [`tiltas login`](/docs/cli/login) | Sign in to another Network and switch to it |
| [`tiltas down`](/docs/cli/down) | Disconnect from Tiltas |
| [`tiltas logout`](/docs/cli/logout) | Sign this Device out and remove it from its Network |
| [`tiltas switch`](/docs/cli/switch) | Switch to another Network this machine is signed in to |
| [`tiltas status`](/docs/cli/status) | Show state of tiltasd and its connections |
| [`tiltas device`](/docs/cli/device) | Print this Device's ID, address, name and Panel |
| [`tiltas ip`](/docs/cli/ip) | Show Tiltas IP addresses |
| [`tiltas ping`](/docs/cli/ping) | Ping a host at the Tiltas layer, see how it routed |
| [`tiltas set`](/docs/cli/set) | Change specified preferences |
| [`tiltas version`](/docs/cli/version) | Print Tiltas version |

## Names from before the rename

The commands, the service and the variables from before the rename keep working; [the migration page](/docs/moving-from-quietlane) lists them.

## Environment

| Variable | Used by | Meaning |
|---|---|---|
| `TILTAS_PANEL` | `tiltas up`, `tiltas login`, `tiltasd` | the Panel to sign in with, instead of the built-in one |
| `TILTAS_JOIN_KEY` | `tiltas up` | a Join key, so it does not appear in the process list |
| `TILTAS_CLIENT` | `tiltas up`, `tiltas login` | `openpanel` to sign in with an OpenPanel account |
| `TILTAS_PANEL_ALLOW` | `tiltasd` | more Panels a Device token may be sent to, comma-separated origins, for a self-hosted Panel (`install.sh --panel` sets it) |

## Other commands

`tiltas --help` also lists commands this reference does not cover yet, because Tiltas's tests do not run them: `completion`, `dns`, `exit-node`, `file`, `get`, `metrics`, `nc`, `netcheck`, `ssh`, `wait`, `whoami`, `whois`. They come with the engine Tiltas is built on and are not supported.
