CLI

# hotcfg export

Download every bin, schema and kept version of your organization as one JSON file.

usage

```
hotcfg export [-o <file>] [--current]
```

terminal

```
$ hotcfg export
✓ Exported Acme to hotcfg-acme-2026-11-10.json
  size     48.2 KiB
  versions all kept versions
```

| Flag | Default | Description |
| --- | --- | --- |
| `-o`, `--out` | `hotcfg-<organization>-<date>.json` | Where to save the export. `-` writes it to standard output. |
| `--current` | off | Only the version each environment serves now, not the whole history. |

The file is the same as the dashboard's **Settings → Export**: see [Exporting your config](https://hotcfg.run/docs/account/export) for what's in it. It needs a secret key without bin or environment limits.

The download goes to a temporary file first and is renamed only once it's complete, valid JSON, so an interrupted export never leaves a half-written file under the name you asked for.

Last updated 10 November 2026
