Prerequisites
- A Linux host (x86_64 or aarch64)
- curl installed
- PostgreSQL 16+ installed and running (or let the installer manage one for you)
Malbox does not support macOS or Windows hosts directly. Use WSL2 on Windows.
Bootstrap the CLI
The bootstrap script downloads themalbox binary to ~/.local/bin and verifies its checksum. Use process substitution so stdin stays connected to your terminal and the interactive prompts work:
- bash / zsh
- fish
- non-interactive
| Variable | Values | Default | Description |
|---|---|---|---|
MALBOX_CHANNEL | stable, nightly | stable | Release channel to download from |
MALBOX_FORCE | 1 | - | Overwrite an existing binary without prompting |
~/.local/bin is in your PATH. If it is not, add it to your shell profile:
Run the installer
Once the CLI is on your system, run the interactive installer:Daemon source
Download a prebuilt binary or compile from source. Compiling from source lets you choose exactly which virtualization providers and machine provisioners to include.
PostgreSQL setup
Connect to an existing PostgreSQL server or let Malbox set up a managed instance. The installer validates the connection before continuing.
malbox daemon install detects the incomplete state and offers to resume from where it stopped.
Non-interactive install
Skip all prompts with--yes. This selects nightly channel, prebuilt binaries, a managed PostgreSQL instance, and systemd:
Start the daemon
If you enabled the systemd service:http://127.0.0.1:8080 by default.
What gets installed
| Component | Default path |
|---|---|
Daemon binary (malboxd) | ~/.local/bin/malboxd |
CLI binary (malbox) | ~/.local/bin/malbox |
| Front-end assets | ~/.local/share/malbox/web |
| Configuration | ~/.config/malbox/malbox.toml |
| Installation manifest | ~/.config/malbox/manifest.json |
| Systemd unit (if enabled) | ~/.config/systemd/user/malbox.service |
Upgrading
Upgrade to the latest version on your current release channel:malbox daemon upgrade reference for all flags.