Installing `cloacinactl`
cloacinactl is the operator + developer CLI for Cloacina. It bundles
the daemon as a subcommand (cloacinactl daemon), so a single install
gives you both.
The installer below installs only the CLI. Embedding the engine in your own application needs no installer at all — it’s a dependency: see Rust users and Python users below.
One-liner (Linux + macOS)
Section titled “One-liner (Linux + macOS)”curl -fsSL https://get.cloacina.dev/install.sh | bashThat downloads the latest release tarball for your OS + arch from
GitHub Releases,
verifies its SHA256, and installs the binary to ~/.cloacina/bin. If
that directory isn’t on your $PATH, the installer prints the line to
add to your shell rc.
Pinning a version
Section titled “Pinning a version”curl -fsSL https://get.cloacina.dev/install.sh | bash -s -- --version v0.12.0Use a specific tag from the releases page. Any release that has the binary uploaded for your OS/arch will work.
System-wide install
Section titled “System-wide install”curl -fsSL https://get.cloacina.dev/install.sh | bash -s -- --prefix /usr/localInstalls to /usr/local/bin. Uses sudo if the directory isn’t writable
by the current user.
Other knobs
Section titled “Other knobs”| Flag | Default | Notes |
|---|---|---|
--version vX.Y.Z |
latest release | Pin to a specific tag |
--prefix DIR |
$HOME/.cloacina |
Install root; binary lands in DIR/bin |
--quiet |
off | Suppress informational output |
Set CLOACINA_REPO=owner/repo to install from a fork.
Supported platforms
Section titled “Supported platforms”Cross-compiled binaries are uploaded on every release tag for:
x86_64-unknown-linux-gnuaarch64-unknown-linux-gnuaarch64-apple-darwin
Intel macOS (x86_64-apple-darwin) binaries are no longer built — the
installer exits with a clear error on that platform; use
Building from source instead. Windows is not
currently supported. If you need it, file an issue.
Verifying the install
Section titled “Verifying the install”cloacinactl --versioncloacinactl daemon --helpThe --version output should match the release tag you installed.
Upgrading
Section titled “Upgrading”Re-run the same one-liner. The installer is idempotent — it overwrites
the binary in place. To pin a new version, pass --version.
Uninstalling
Section titled “Uninstalling”rm ~/.cloacina/bin/cloacinactl# or for a system-wide install:sudo rm /usr/local/bin/cloacinactlThen remove the PATH-add line from your shell rc if you added one.
Building from source
Section titled “Building from source”If your platform isn’t covered above, install with cargo:
cargo install --git https://github.com/colliery-io/cloacina cloacinactlThis builds from the main branch tip. Pass --tag vX.Y.Z to pin a release.
cloacinactl is also published to crates.io, so cargo install cloacinactl
works too.
Rust users (embedding the library)
Section titled “Rust users (embedding the library)”The engine is a crate — no CLI required. Add it to your Cargo.toml:
[dependencies]cloacina = "0.12"cloacina-workflow = "0.12" # macro-generated task code references this crate directlytokio = { version = "1", features = ["full"] }serde_json = "1.0"Both database backends (PostgreSQL and SQLite) are compiled in by default and selected at runtime by connection URL. See the embedded quick start for usage.
Python users
Section titled “Python users”The Python bindings ship as a wheel — no separate installer needed:
pip install cloacaThe wheel bundles both database backends; the one you use is chosen at runtime by connection URL. Wheels are published for Linux and macOS and support CPython 3.9+. See the embedded quick start for usage.
Docker
Section titled “Docker”The server is published as a multi-arch container image (linux/amd64 +
linux/arm64) on every release, tagged X.Y.Z, X.Y, and latest:
docker pull ghcr.io/colliery-io/cloacina-server:0.12.0See Running the server image for the full container deploy walkthrough — environment variables, signature enforcement, log retention.
Kubernetes (Helm)
Section titled “Kubernetes (Helm)”A Helm chart with an embedded local Postgres subchart ships in-tree:
helm install cloacina-server ./charts/cloacina-serverSee Deploying to Kubernetes for production values, the embedded Postgres subchart story, and the operator-flag reference.