Install Modes
If the CLI is already installed on the target server, install the platform with:
compartment installBefore you run compartment install, the CLI must already be installed on the target server. The public bootstrapper can either install the CLI only or install the CLI and immediately start compartment install.
Default mode
Section titled “Default mode”With no explicit mode flags, compartment install allocates a managed base domain through the broker and configures the self-hosted runtime with trusted HTTPS.
Registry installs verify Compartment runtime image signatures with the bundled CLI verifier before pulling images and before activating runtime files or starting containers. A failed verification leaves the install directory retryable.
Registry installs pull the api, caddy, edge, worker, and runtime-probe images from GitHub Container Registry by default. Use --image-registry docker-hub when you need Docker Hub image refs instead. The selected registry is stored for later system update runs.
Use other modes only when you need a different ownership model:
--base-domain <domain>: use an operator-owned install domain.--local-runtime: use local HTTPS browser hosts for local runtime work.--dev: point the CLI at a local development API from this repository.--broker-url <url>: override the managed-domain broker, usually for broker development.
Use --image-source local when you want the install to use images already built into the local Docker daemon. Local image installs skip registry signature verification, so all runtime images must already exist locally.
CLI bootstrap options
Section titled “CLI bootstrap options”Install the CLI only:
curl -fsSL https://compartment.dev/install.sh | shInstall the CLI and immediately start the system install:
curl -fsSL https://compartment.dev/install.sh | sh -s -- --init-installInstall the CLI on another machine and immediately start compartment login:
curl -fsSL https://compartment.dev/install.sh | sh -s -- --init-login --api-url https://console.example.comThe installer prompts for the email address. For non-interactive automation, pass --email <email>.
Related commands:
compartment installcompartment loginsudo compartment system statussudo compartment system update
Next steps:
- Read Install Domain.
- Read System Operations.