Skip to content

Installation ​

Last updated Nov 30, 2026 View as Markdown

The current release is 0.1.0-rc.2, a preview of the first release, 0.1.0. Commands and file formats can still change before 0.1.0. Until then, use 0.1.0-rc.2 where a page names 0.1.0, such as https://pandra.io/0.1.0-rc.2/install.sh to pin the install script and ghcr.io/pandra-io/pandra:0.1.0-rc.2 for the container image. The preview's files have no build provenance attestations, so gh attestation verify fails for them.

Pandra is one binary. It runs on:

  • macOS 13 or later, on x86_64 and arm64.
  • Linux, on x86_64 and arm64. The binary is statically linked, so it runs on any distribution, including Alpine and distroless images.
  • Windows, through WSL2, with the Linux binary.

Git sources, builds inside a Git repository, and --worktree also need the git command, Git 2.17 or later.

Install it with the install script, which verifies the checksum and installs only the pandra binary into ~/.local/bin, without sudo:

terminal
sh
curl -fsSL https://pandra.io/install.sh | sh

When ~/.local/bin is not on your PATH, the script prints the line to add to your shell's startup file. To install elsewhere, set PANDRA_INSTALL_DIR, as in curl -fsSL ... | PANDRA_INSTALL_DIR="$HOME/bin" sh. To pin a version, for example in CI, name it in the path: https://pandra.io/0.1.0/install.sh (see running in CI). Both URLs redirect to the script attached to the GitHub release, so the long form https://github.com/pandra-io/pandra/releases/download/v0.1.0/install.sh works as well.

To read or check the script before you run it, download it first. Each release's script has a build provenance attestation, so gh attestation verify confirms that GitHub Actions in the pandra-io/pandra repository built exactly this file, and the script in turn checks the SHA-256 of the archive it downloads:

terminal
sh
curl -fsSLO https://pandra.io/0.1.0/install.sh
gh attestation verify install.sh --repo pandra-io/pandra
sh install.sh

Pandra is also available through:

  • GitHub Releases, with an archive per platform named by its target triple (such as aarch64-apple-darwin), SHA-256 checksums, and build provenance attestations that you can check with gh attestation verify <archive> --repo pandra-io/pandra;
  • the official minimal container image ghcr.io/pandra-io/pandra:0.1.0, whose /pandra binary you copy with COPY --from in a Dockerfile (see containers).

Check the installation:

terminal
sh
pandra version
text
pandra 0.1.0 (0123456789ab x86_64-unknown-linux-musl)

Pandra does not update itself and never checks for updates in the background. To upgrade, run the install script again or use your package manager.

Shell completion ​

Completion is optional. pandra completion SHELL prints the script that registers completion with bash, zsh, fish, or powershell. Add the line for your shell to its startup file, so that each new shell loads the script of the Pandra you have installed, also after an upgrade:

ShellStartup fileLine
bash~/.bashrcsource <(pandra completion bash)
zsh~/.zshrc, after compinitsource <(pandra completion zsh)
fish~/.config/fish/completions/pandra.fishpandra completion fish | source
PowerShell$PROFILEpandra completion powershell | Out-String | Invoke-Expression

Completion of local names, references in your store, and session IDs and names reads only local state; it never contacts the network or changes anything.

Next, follow the quickstart to run an agent and create your own.

Released under the Apache License 2.0