# Command reference

Run `foxora --help` on the installed binary for the authoritative command and option list.

| Command | Purpose |
| --- | --- |
| `foxora` or `foxora ui` | Open the interactive UI. |
| `foxora setup` | Provision the device runtime. |
| `foxora update` | Check CLI and runtime updates. |
| `foxora login` / `logout` | Start or end CLI authentication. |
| `foxora run [fast\|pro\|max] -n <text>` | Run one prompt. |
| `foxora sessions` | List sessions. |
| `foxora crews` / `agents` | List available definitions. |
| `foxora usage` | Show credit windows. |
| `foxora doctor` | Diagnose runtime and access. |
| `foxora models` | List available tiers or models. |
| `foxora whoami` | Show the signed-in account. |
| `foxora env` | Show or switch environment. |

Options include `-n` or `--prompt`, attach-only `--remote`, `--help`, and `--version`. Aliases include `health` for `doctor`, `account` for `whoami`, and `upgrade` for `update`.

**Expected result:** the requested command completes or returns a specific error without silently changing another environment.
