Install
What you need
Section titled “What you need”- 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 startsclaude,codex,gemini,opencodeoragy— it does not bundle, install or update any of them.
Install
Section titled “Install”curl -fsSL https://dl.puppet-master.xyz/install.sh | shThat 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.
Install without the script
Section titled “Install without the script”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:
# aarch64-apple-darwin, x86_64-unknown-linux-gnu or aarch64-unknown-linux-gnuTRIPLE=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 LinuxCompare that digest with the sha256 the manifest prints for your triple, then:
chmod +x "pm-$VERSION-$TRIPLE"sudo mv "pm-$VERSION-$TRIPLE" /usr/local/bin/pmlatest.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.
Run the daemon
Section titled “Run the daemon”pm daemonIt 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.
Join a machine to an existing controller
Section titled “Join a machine to an existing controller”One command, and the Manage → Workers page in the dashboard mints the token and shows you the exact line to paste:
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.
Build from source
Section titled “Build from source”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.
Update
Section titled “Update”pm update # install the newest published buildpm update --check # report what is available and change nothingA 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.
Release channels
Section titled “Release channels”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:
pm update --channel dev # the newest build on the dev channel, and stay on itpm update # later runs keep following devpm update --channel stable # back to the newest stable, even if it is olderThe 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.