Skip to content
docs/start here
Get started

Install

  • macOS or Linux. Prebuilt binaries cover macOS on Apple Silicon and Linux on x86_64 and arm64.
  • The agent CLIs you want to run, installed yourself and on your PATH. Puppet Master starts claude, codex, gemini, opencode or agy — it does not bundle, install or update any of them.
Terminal window
curl -fsSL https://dl.puppet-master.xyz/install.sh | sh

That drops a single pm binary in /usr/local/bin, or ~/.local/bin when that is not writable, and adds it to your PATH if it is not there already.

The installer takes a few options, after -s --:

Option What it does
--dir <path> Install here instead of the default location
--no-modify-path Do not touch shell startup files
--version <version> Install this version instead of the newest
--controller <url> --token <token> Install, then join this machine to a controller as a worker

The installer checks the published SHA-256 of what it downloads, over TLS. Release binaries are signed with an Ed25519 key, and every update after the first install is verified against it. The public half is pn8R8V2Hi/PZnXCpo9vUkRdL+ZrCVsv20OU0RlUPjl0=, which ships inside the binary at crates/pm-daemon/src/release_pubkey.txt.

The installer has to run before any trusted binary exists, so it is a shell script from the network. If you would rather not pipe one to a shell, the release is three files and you can do it by hand:

Terminal window
# aarch64-apple-darwin, x86_64-unknown-linux-gnu or aarch64-unknown-linux-gnu
TRIPLE=aarch64-apple-darwin
VERSION=$(curl -fsSL https://dl.puppet-master.xyz/latest.json |
sed -n 's/.*"version": *"\([^"]*\)".*/\1/p')
curl -fsSLO "https://dl.puppet-master.xyz/v$VERSION/pm-$VERSION-$TRIPLE"
curl -fsSL https://dl.puppet-master.xyz/latest.json | grep -A2 "\"$TRIPLE\""
shasum -a 256 "pm-$VERSION-$TRIPLE" # sha256sum on Linux

Compare that digest with the sha256 the manifest prints for your triple, then:

Terminal window
chmod +x "pm-$VERSION-$TRIPLE"
sudo mv "pm-$VERSION-$TRIPLE" /usr/local/bin/pm

latest.json is signed too, at latest.json.sig, and each version has an immutable v<version>/release.json beside the binaries if you would rather pin one than follow the newest.

Terminal window
pm daemon

It runs in the foreground and serves two things: the dashboard on http://127.0.0.1:7676/, and the unix socket that the CLI and the TUI talk to. Open the dashboard and it walks you through creating your login on first run.

The flags you are most likely to want:

Flag Default What it changes
--http <addr> 127.0.0.1:7676 Where the dashboard and API bind
--no-http off Turn the HTTP surface off entirely
--http-tls-cert, --http-tls-key off Serve the dashboard over HTTPS. Browsers only allow notifications on HTTPS or localhost, so a dashboard reached at any other address needs this
--worker-listen <addr> 127.0.0.1:7677 Where other machines reach this controller
--no-worker-listen off Refuse every remote machine
--db <path> platform default Where the database lives
--scrollback-dir <path> platform default Where ended-session transcripts live

Every flag of every command is generated from the binary itself.

One command, and the Manage → Workers page in the dashboard mints the token and shows you the exact line to paste:

Terminal window
curl -fsSL https://dl.puppet-master.xyz/install.sh | sh -s -- \
--controller <url> --token <enrollment>

The enrollment token is single-use and short-lived. Adding a second machine covers what happens next.

You need Rust (stable, via rustup) and a C compiler — cc, or the Xcode command line tools on macOS, because the SQLite bindings build SQLite from bundled C source.

The GitHub repository includes build and contribution instructions with the current build, test, and lint commands.

Terminal window
pm update # install the newest published build
pm update --check # report what is available and change nothing

A running daemon keeps serving the build it started with, so restart it yourself once the binary has been replaced. Workers follow their controller’s build automatically, because the two ends have to agree on the protocol between them to talk at all.

A release can be published to a channel before it is published to everyone. A channel build carries a suffixed version such as 0.10.0-dev.3, and only a host that asked for the channel sees it:

Terminal window
pm update --channel dev # the newest build on the dev channel, and stay on it
pm update # later runs keep following dev
pm update --channel stable # back to the newest stable, even if it is older

The choice is saved in update.toml under the pm configuration directory, and the daemon on that host checks the same channel. Settings shows the channel beside the version. Workers need nothing: they follow their controller’s exact version whether or not it has a suffix. install.sh --channel dev installs from a channel on a machine that has no pm yet.