Skip to content

Install CLI (self-host)

Install the published Cadence CLI to self-host a local team on Linux (or run CLI commands on Apple Silicon macOS).

Use this guide when self-hosting Cadence on your own machine (running the local controller daemon, private git tracker, and loopback board on Linux, or installing the CLI binary on Apple Silicon macOS).

The published Cadence CLI supports Linux x86_64, Linux ARM64, and Apple Silicon macOS. The installer checks archive and binary digests and the requested version. It does not start a daemon or sign you into a provider. Check the latest release for its version.

Windows is not packaged. Builds target glibc (Ubuntu 22.04 baseline), not Alpine/musl. Intel macOS is not packaged.

Release install

Download the installer

Save the script, then run it. Do not pipe the download straight into a shell.

curl -fsSL https://github.com/favcrm/cadence/releases/latest/download/install.sh -o install.sh
sh install.sh

Check the binary

The executable link is $HOME/.local/bin/cadence. Add that directory to PATH if your shell does not already.

export PATH="$HOME/.local/bin:$PATH"
cadence --version

The default release root is ${XDG_DATA_HOME:-$HOME/.local/share}/cadence. Pass --prefix /absolute/path for another root; the executable link stays $HOME/.local/bin/cadence.

For a published prerelease or an older tag, set release_tag and pass --version. GitHub’s latest asset excludes prereleases.

release_tag=v0.1.0-beta.2
curl -fsSL "https://github.com/favcrm/cadence/releases/download/$release_tag/install.sh" -o install.sh
sh install.sh --version "$release_tag"

v0.1.0-beta.1 has no published install assets. Rerunning the same version is safe. The installer refuses different bytes under an existing version, and refuses an ordinary file already sitting on the executable link.

What install does not do

Installing the binary does not need git, Node, Rust, a GitHub login, or an AgenticOS login. The installer only needs a POSIX shell, curl or wget, tar, and sha256sum, shasum, or openssl. Provider CLIs, their credentials, and tmux (for native terminal providers) are separate.

git is required once you create local state. cadence setup initializes the issue tracker with git init, and later ticket, worktree, and review commands call git.

To hand self-hosted installation steps to a coding agent, use Connect with an agent.

On Linux, run cadence setup only when you are ready to create local state. On Apple Silicon macOS, installation and cadence --version are supported. Setup, the daemon, and the board are not supported on macOS.

Installing a release and upgrading a running daemon are separate operations. Read cadence update --help on your installed version before changing an existing workspace. Image-managed hosted runtimes are updated by the platform, not by replacing the binary inside the container.

Optional provenance check

Checksums detect corruption. They do not, by themselves, prove the files came from the release workflow. With GitHub CLI you can verify attestations for install.sh and the tarball: Set release_tag to the tag you downloaded (for example, v0.1.0).

gh attestation verify install.sh --repo favcrm/cadence \
  --source-ref "refs/tags/$release_tag" \
  --signer-workflow favcrm/cadence/.github/workflows/ci.yml

The basic install path does not require gh.

Build from source

A source build needs a recent stable Rust toolchain. The board also needs Node 22 and the pnpm version in ui/package.json.

pnpm -C ui install --frozen-lockfile
pnpm -C ui build
cargo install --path . --locked --features ui

cargo install --path . --locked without --features ui is CLI-only. That binary does not embed the board. Serving a board then also needs a built UI and cadence ui start --dist /path/to/ui/dist.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close