Install
incentru is one static binary for Linux, macOS and Windows, on amd64 and arm64. Every release
file is on the releases page and is listed in its
signed checksums.txt (Verifying a release).
# Linux and macOS: the install script checks the binary against checksums.txt, then puts it in# /usr/local/bin when that is writable, otherwise in ~/.local/bin (INCENTRU_INSTALL_DIR chooses)curl -fsSL https://get.incentru.com | sh
# Homebrew, on macOS and Linuxbrew install incentru/tap/incentru
# Debian, Ubuntu, Fedora, RHEL: the deb or rpm package from the releases page, which also installs# the systemd service (not started; see cloud.md)sudo apt install ./incentru_<version>_linux_amd64.deb # or: sudo dnf install ./…rpm
# the container imagedocker run --rm ghcr.io/incentru/incentru version
# from source, with Gogo install github.com/InCentru/incentru/cmd/incentru@latestOn Windows, download incentru_windows_amd64.exe (or _arm64.exe) from the releases page,
rename it to incentru.exe and put it in a folder on your PATH. Archives
(incentru_<version>_<os>_<arch>.tar.gz, .zip for Windows) hold the binary with the licence,
the notice and the README.
The macOS binaries are not notarized. The install script and Homebrew run them as they are; a
binary downloaded with a browser first needs xattr -d com.apple.quarantine ./incentru_darwin_arm64.
Building
Section titled “Building”CGO_ENABLED=0 go build ./cmd/incentruVerifying a release
Section titled “Verifying a release”checksums.txt lists every file’s SHA-256 and is signed keyless by the release workflow. Check it with cosign 3 or later (older versions cannot read the .sigstore.json bundle):
cosign verify-blob --bundle checksums.txt.sigstore.json \ --certificate-identity-regexp '^https://github.com/InCentru/incentru/' \ --certificate-oidc-issuer https://token.actions.githubusercontent.com checksums.txtsha256sum --ignore-missing -c checksums.txtcosign verify ghcr.io/incentru/incentru:<version> \ --certificate-identity-regexp '^https://github.com/InCentru/incentru/' \ --certificate-oidc-issuer https://token.actions.githubusercontent.com