--- url: https://docs.codefox.ai/reference/cli.md --- # foxden command line This page is generated from the code. To change it, change the code it is read from. Every command `foxden --help` lists. Run `foxden help ` for a command's options. Every command also takes `--json` for scripts and agents. ## Set up Install products, and the server they run on. | Command | What it does | Runs | | --- | --- | --- | | `foxden next` | Not sure? The one command to run now, and why; --run runs it | Anywhere | | `foxden init` | Install a Codefox product on the box: a wizard, or unattended | On the server | | `foxden try` | Try the suite free, on Codefox's server: nothing to install | Anywhere | | `foxden cloud` (create, list, destroy, providers) | Rent a server in your own cloud account, and connect to it | Anywhere | | `foxden connect` (use, forget) | Point foxden at a VPS over SSH; saved boxes: `use`, `forget` | Anywhere | | `foxden mcp` (install, list, status, remove) | Connect Claude to the suite: codefox, one sign-in for every app | Anywhere | | `foxden list` | Every product in the suite, what each needs, and how it installs (on a terminal: browse a page, install from it; --no-pick: text) | Anywhere | ## Check Is it healthy: one verdict, then the logs. | Command | What it does | Runs | | --- | --- | --- | | `foxden checkup` | Doctor, status, deliverability and a backup verify: one verdict | On the server | | `foxden logs` | Read, follow or search the logs: --grep, --errors, -C | On the server | | `foxden doctor` | Check the box: specs, ports, DNS, disk, config, health (--service, --check, --fail-only narrow the run) | On the server | | `foxden status` | What is running, which version, healthy or not | On the server | | `foxden support-bundle` | One redacted file describing the box, for a support thread | On the server | ## Manage Update, settings, your domain and email, backups. | Command | What it does | Runs | | --- | --- | --- | | `foxden update` | Update the PRODUCTS: pull → health gate; --all, --auto on|off | On the server | | `foxden config` (list, get, set, unset, import, edit) | The product's .env, typed: list, get, set, unset, import, edit | On the server | | `foxden domain` (set) | The products' web address; `domain set ` moves them all | On the server | | `foxden email` (set) | Mail from your own address; `email set` sets every product up | On the server | | `foxden suite` (sync) | Shared facts typed once; `suite sync` writes them to products | On the server | | `foxden link` (set) | Links between products; `link set` wires them from a box key | On the server | | `foxden backup` (restore, offsite) | Run, schedule or verify backups; `backup restore ` rebuilds the product from one | On the server | | `foxden restart` | Restart the stack or some services; wait for the health gate | On the server | | `foxden services` | Every optional integration the suite can talk to (sign-in, AI, email, enrichment) and what each is set to (--check ⇢ probes) | Anywhere | ## Account Your sign-in and this binary: login, self-update. | Command | What it does | Runs | | --- | --- | --- | | `foxden login` | Sign this machine in to Codefox (browser approval, no password) | Anywhere | | `foxden logout` | Forget and revoke this machine's token | Anywhere | | `foxden self-update` | Replace this binary with the latest foxden release; box untouched | Anywhere | | `foxden completion` | Tab completion script: `foxden completion bash\|zsh\|fish` | Anywhere | | `foxden terminal` | How this terminal draws (colour, unicode, motion) and why | Anywhere |