Cerium Host
Run Cerium in your browser on a workstation, home server or VPS. You can also link the host to your Cerium account to use it from other devices. Install the agent CLIs you want to use and sign in to them as the same OS user that runs this host.
Install
Run directly with npx (Node 24.11+)
npx @ceriumhq/host ui
Or install globally:
npm install -g @ceriumhq/host
cerium-host ui
Standalone installer (bundles Node 24)
Install a self-contained build on Linux, macOS, or Windows with no Node prerequisite:
# Linux & macOS (x64, ARM64)
curl -fsSL https://cerium.nonlooped.xyz/install.sh | sh
# Windows PowerShell (x64, ARM64)
irm https://cerium.nonlooped.xyz/install.ps1 | iex
Pass --nightly or --version <v> to install.sh (sh -s -- --nightly), or -Nightly / -Version <v> when invoking install.ps1 as a script, to install a specific release.
Open Cerium in your local browser
cerium-host ui
This opens Cerium in your default browser without Electron or a Cerium account. The command attaches to a host already running in the same data directory or starts one in the foreground. Press Ctrl+C to close the UI and any host it started. An attached service keeps running.
The default address is 127.0.0.1:4317. If that port is busy, Cerium selects an available port. Use --port <n> to require a specific port, or --port 0 to select an available one. The printed URL contains a secret that grants access to this host. The browser exchanges it for a session cookie and removes it from the address bar.
cerium-host ui --port 4320 --no-browser
cerium-host run --ui --data-dir ~/.cerium-work --name Work
run --ui always starts its own foreground host and requires an available data directory. Both commands accept --port, --host, --allow-host, --no-browser, --data-dir, --relay-url, --name, and --channel stable|nightly|dev. The last three host settings take effect when starting a backend. Use --host <addr> to bind another interface. Keep the default loopback address when forwarding over SSH (ssh -L 4317:127.0.0.1:4317 <host>); any local port works, and so does localhost in place of 127.0.0.1. SSH and headless Linux sessions print the URL and this tunnel for you. To protect against DNS rebinding, the UI answers only to loopback names, the address it listens on, and names you add with --allow-host <name> (repeatable or comma-separated), such as --host 0.0.0.0 --allow-host mybox.local.
Behind an HTTPS reverse proxy, pass its browser-facing origin, for example --allow-host https://mybox.example. Have the proxy preserve the Host header and forward WebSocket upgrades. Open the proxy URL Cerium prints.
Connect from other devices
To link the host to your Cerium account and start the background service, run
cerium-host login --name "Home server"
cerium-host service install
cerium-host status
Use cerium-host login --no-browser to sign in from another computer. Open the printed URL, confirm the device and paste the code into the original terminal. SSH sessions select this flow automatically. A local graphical session opens a browser and listens for its callback on loopback. If the Cerium desktop app is launched on the same machine using the default data directory, it automatically attaches to the running cerium-host daemon.
Add projects
In the project picker, choose Add folder… or Clone a repository… and enter the folder path on the selected host. Cloning creates a project named after the repository inside the destination folder. Git uses the credentials configured for the host's OS user.
From a terminal on a running host, use the same data directory as the daemon. Relative paths are resolved from the terminal's working directory.
cerium-host project add ~/work/my-project
cerium-host project clone https://github.com/owner/repository.git ~/work --data-dir ~/.cerium-host
Run and manage the host
cerium-host run --data-dir ~/.cerium-host --name "Build machine"
cerium-host service install --data-dir ~/.cerium-host
cerium-host status --data-dir ~/.cerium-host --json
cerium-host service logs -f
cerium-host service restart
cerium-host service stop
cerium-host service start
cerium-host service uninstall
cerium-host logout --data-dir ~/.cerium-host
While the headless host runs, it asks the operating system to keep the machine awake. On Linux this requires systemd-logind and permission to take an inhibitor. Stopping the host releases the request.
Use the same data directory for sign-in and the daemon. The default is ~/.cerium. You can run login or logout without stopping an up-to-date host, or enter the confirmation code under Settings → Account in the host's local browser UI. Install and run under your own user account. Linux uses a systemd user unit and requests lingering for startup at boot. macOS uses a per-user LaunchAgent and Windows uses a scheduled task at user logon. Both need a signed-in OS session. Run the foreground command under your container's supervisor for a container installation.
cerium-host update --check checks GitHub Releases. cerium-host update verifies the archive digest, activates the new version and restarts an installed service. A manually started foreground process picks up the release the next time it starts. Use --channel nightly or select a specific release with --version. When the standalone launcher supervises the host, you can also check and apply an update from a connected Cerium device in Settings → Updates. Hosts running without a launcher show the terminal update instructions there. The host restarts after its agents finish and you confirm the update. Run cerium-host --help for the full command list.
Build from this checkout
bun run build:cli
bun run package:cli -- --target=linux-x64 --version=1.2.3 --out=./out
The CLI build reuses apps/ui/dist-local or builds it when missing. Rebuild it after UI changes with bun run --cwd apps/ui build:local. To share one build across package targets, set CERIUM_CLI_UI_DIR to the absolute path of the prebuilt directory containing index.html, artifact.html and assets/. Both the npm package and standalone archive include its contents in ui/.