Skip to main content
Cloacina Documentation
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Installing cloacinactl

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)

curl -fsSL https://get.cloacina.dev/install.sh | bash

That 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

curl -fsSL https://get.cloacina.dev/install.sh | bash -s -- --version v0.10.0

Use a specific tag from the releases page. Any release that has the binary uploaded for your OS/arch will work.

System-wide install

curl -fsSL https://get.cloacina.dev/install.sh | bash -s -- --prefix /usr/local

Installs to /usr/local/bin. Uses sudo if the directory isn’t writable by the current user.

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

Cross-compiled binaries are uploaded on every release tag for:

  • x86_64-unknown-linux-gnu
  • aarch64-unknown-linux-gnu
  • aarch64-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

cloacinactl --version
cloacinactl daemon --help

The --version output should match the release tag you installed.

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

rm ~/.cloacina/bin/cloacinactl
# or for a system-wide install:
sudo rm /usr/local/bin/cloacinactl

Then remove the PATH-add line from your shell rc if you added one.

Building from source

If your platform isn’t covered above, install with cargo:

cargo install --git https://github.com/colliery-io/cloacina cloacinactl

This 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)

The engine is a crate — no CLI required. Add it to your Cargo.toml:

[dependencies]
cloacina = "0.10"
cloacina-workflow = "0.10"   # macro-generated task code references this crate directly
tokio = { 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

The Python bindings ship as a wheel — no separate installer needed:

pip install cloaca

The 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

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.10.0

See Running the server image for the full container deploy walkthrough — environment variables, signature enforcement, log retention.

Kubernetes (Helm)

A Helm chart with an embedded local Postgres subchart ships in-tree:

helm install cloacina-server ./charts/cloacina-server

See Deploying to Kubernetes for production values, the embedded Postgres subchart story, and the operator-flag reference.