Skip to content

CLI

The cellp binary is the operator entry point. Production runs cellp serve (cellpd + gateway). Laptops use cellp dev (in-process S3, no Docker).

Install: Install or curl -fsSL …/scripts/install.sh | sh.

Commands

CommandPurpose
cellp devLocal control plane on 127.0.0.1 — API 8790, gateway 8787, path-style S3 (default 19000)
cellp serveRun cellpd from environment (Docker Compose, systemd, bare metal)
cellp doctorCheck celld, offshoot, optional esbuild, and port availability
cellp versionPrint build version

cellp dev

bash
cellp dev
cellp dev --project my-shop
cellp dev --no-deploy          # platform only; deploy via API or Dashboard
cellp dev --home ~/.cellp      # data directory (default ~/.cellp)

If the current directory has wrangler.jsonc, dev uploads and creates a root version (same artifact layout as CI). Requires celld on PATH (bundled next to cellp after install, or build from the celld/ submodule).

Environment overrides used by dev (also apply when you run serve with the same vars):

VariableDefault (dev)Meaning
CELLP_HOME~/.cellpState root
PLATFORM_PORT8790cellpd API
GATEWAY_PORT8787User traffic
CELLP_S3_ADDR127.0.0.1:19000In-process artifact S3
CELLP_DEPLOY_TOKEN / CELLP_ADMIN_TOKENdev-local-tokenBearer tokens

See cellp dev for the full laptop workflow.

cellp serve

Loads configuration from the environment and starts cellpd (REST API, gateway, orchestrator). Same variables as Self-hosting and Environment variables.

Common cellpd variables:

VariablePurpose
CELLP_DEPLOY_TOKEN / CELLP_ADMIN_TOKENBearer tokens (Auth); PLATFORM_TOKEN legacy fallback
CELLP_REGISTRY_DBSQLite registry path
GATEWAY_URLPublic gateway origin (Host routing base)
CELLP_INGRESS_BASE_DOMAINIngress Host suffix
PLATFORM_PORT / GATEWAY_PORTListen ports
S3_ENDPOINT, AWS_* / RUSTFS_*RustFS (artifacts + celld buckets)
CELLP_ARTIFACTS_BUCKETAllowed artifact bucket name
ARTIFACTS_DIRLocal artifact cache when using file layout
OFFSHOOT_STOREoffshoot metadata directory or s3://…

Orchestrator tuning (optional):

VariablePurpose
CELLP_QUEUE_MAXDeep health fails when deploy queue exceeds this
CELLP_ORCH_WORKERSParallel deploy workers (default 1)
CELLP_LENIENT_DEPLOY=1Local-only: warn on branch/offshoot failures (Environment variables)
CELLP_ARCHIVE_IDLE / CELLP_ARCHIVE_GRACEIdle archive and post-promote pin (Archive)
CELLP_ARCHIVE_REAPER=0Disable idle archive ticker
CELLP_ELASTIC_RUNTIMEUnsupported internal E1–E5 scaffold; leave unset. It has no remote HTTP+mTLS Agent, real celld lifecycle, Scheduler/complete 0→N, or production-readiness (Limits)

Worker env per version is not configured here — use the API or Environment variables.

Self-hosted Workers control plane. Not affiliated with Cloudflare or Vercel.