Install
Releases are on GitHub: https://github.com/cetra-ai/cetra/releases. Each release has:
| File | What it is |
|---|---|
cetra-<version>-x86_64-unknown-linux-musl.tar.gz |
Linux x86_64, static |
cetra-<version>-aarch64-unknown-linux-musl.tar.gz |
Linux aarch64 (arm64), static |
cetra-<version>-aarch64-apple-darwin.tar.gz |
macOS on Apple silicon |
SHA256SUMS |
SHA-256 of each archive |
cetra-<version>-<target>.spdx.json |
SBOM of each binary (SPDX) |
cetra-<version>.tgz |
the Helm chart (also on oci://ghcr.io/cetra-ai/charts/cetra) |
install.sh |
the install script below |
Each archive holds the cetra binary (web UI included), LICENSE, LICENSE-ELASTIC and
THIRD-PARTY-NOTICES.md. Other platforms, including Windows and Intel Macs: use the Docker image.
Binary
Section titled “Binary”curl -fsSL https://cetra.sh/install.sh | shThe script picks the archive for your OS and CPU, checks it against SHA256SUMS, and copies
cetra to ~/.local/bin. CETRA_VERSION=0.1.0 installs a given version and
CETRA_INSTALL_DIR=/usr/local/bin another directory; for a root-owned directory pipe it to
CETRA_INSTALL_DIR=/usr/local/bin sudo -E sh.
Without the script:
version=0.1.0target=x86_64-unknown-linux-muslcurl -fsSLO "https://github.com/cetra-ai/cetra/releases/download/v$version/cetra-$version-$target.tar.gz"curl -fsSLO "https://github.com/cetra-ai/cetra/releases/download/v$version/SHA256SUMS"sha256sum --check --ignore-missing SHA256SUMStar -xzf "cetra-$version-$target.tar.gz"sudo install -m 0755 "cetra-$version-$target/cetra" /usr/local/bin/cetraRun it:
cetra serveIt keeps its data in ./cetra-data (set CETRA_DATA_DIR to choose) and listens on 8080, 4317
and 4318. On the first start it logs a setup link, setup required: open http://localhost:8080/setup?token=…; open it to create the first admin, organization and project.
To skip the setup page, set CETRA_INIT_ADMIN_EMAIL, CETRA_INIT_ADMIN_PASSWORD,
CETRA_INIT_ORG and CETRA_INIT_PROJECT (and optionally CETRA_INIT_SECRET_KEY) for the first
start (Configuration).
systemd
Section titled “systemd”[Unit]Description=cetraAfter=network-online.targetWants=network-online.target
[Service]User=cetraGroup=cetraExecStart=/usr/local/bin/cetra serveEnvironment=CETRA_DATA_DIR=/var/lib/cetraEnvironment=CETRA_PUBLIC_URL=https://cetra.example.comEnvironmentFile=-/etc/cetra/cetra.envStateDirectory=cetra# Shutdown drains requests (20 s) and flushes buffered spans (30 s).TimeoutStopSec=60Restart=on-failure
[Install]WantedBy=multi-user.targetsudo useradd --system --home /var/lib/cetra --shell /usr/sbin/nologin cetrasudo systemctl daemon-reloadsudo systemctl enable --now cetraDocker
Section titled “Docker”docker run -d --name cetra \ -p 127.0.0.1:8080:8080 -p 127.0.0.1:4317:4317 -p 127.0.0.1:4318:4318 \ -v cetra-data:/data \ -e CETRA_PUBLIC_URL=http://localhost:8080 \ ghcr.io/cetra-ai/cetra:0.1.0docker logs cetra 2>&1 | grep 'setup required'The image (linux/amd64, linux/arm64) is distroless: no shell, the binary at
/usr/local/bin/cetra, running as uid/gid 65532, data in the volume at /data. Its health check
runs cetra health, which asks /readyz. Tags: 0.1.0 (exact), 0.1 (latest patch of 0.1) and
latest; pin an exact version in production.
Each release is also tagged sha-<commit> (the full 40-character commit hash), and
unreleased commits can get a sha-<commit> image for testing a fix before it ships; those are
not for production. A sha-<commit>-debug tag is a debug build that accepts test licence keys
whose signing key is public: never run it with real data. These tags are kept. For more than a quick try, use
Docker Compose.
Verify a download
Section titled “Verify a download”Checksums are in SHA256SUMS. Each archive, the image and the chart also have a build provenance
attestation, signed by GitHub Actions through Sigstore, that ties them to the release workflow run
and commit. With the GitHub CLI:
gh attestation verify cetra-0.1.0-x86_64-unknown-linux-musl.tar.gz --repo cetra-ai/cetragh attestation verify oci://ghcr.io/cetra-ai/cetra:0.1.0 --repo cetra-ai/cetragh attestation verify oci://ghcr.io/cetra-ai/charts/cetra:0.1.0 --repo cetra-ai/cetraThe image also carries an SPDX SBOM and a provenance attestation from its build:
docker buildx imagetools inspect ghcr.io/cetra-ai/cetra:0.1.0 --format '{{ json .SBOM }}'.