Install
Get the two binaries, turn the orchestrator on and start it.
Requirements
| Tool | Why | Check |
|---|---|---|
| Rust 1.96.1 or newer | builds Shepherd | rustc --version |
| Zig 0.16.0 | builds the vendored terminal library | zig version |
| git | worktrees, snapshots | git --version |
At least one agent CLI: claude, codex or agy (gemini) | the agents themselves | shepherd vendors list after building |
gh (optional) | importing issues and opening PRs | gh --version |
If Zig is not on your PATH, point the build at it: export ZIG=/path/to/zig.
Install
On Linux and macOS (x86_64 and arm64) the quickest way is the installer, which downloads the binaries of the latest release, checks their SHA-256 and puts them in ~/.local/bin: shepherd (the server, the CLI and the terminal UI) and shepherd-native (the desktop app, which shepherd opens). It also adds a launcher for the app, with its icon: a menu entry on Linux and Shepherd.app in ~/Applications on macOS.
curl -fsSL https://raw.githubusercontent.com/Rivaldito/shepherd/main/install.sh | shSet SHEPHERD_NO_GUI=1 to install only shepherd (for a server without a screen). Set SHEPHERD_INSTALL_DIR to install somewhere else, or SHEPHERD_VERSION=v0.5.3-beta to pick a release. You can also download a binary from the releases page. If you installed the binary, skip the build below.
Windows (x86_64, terminal UI and CLI only; the desktop app is not built for Windows yet). In PowerShell:
irm https://raw.githubusercontent.com/Rivaldito/shepherd/main/install.ps1 | iexIt installs shepherd.exe and its ConPTY runtime in %LOCALAPPDATA%\Shepherd\bin and adds that folder to your user PATH. This is a beta on Windows: report anything that does not work.
Build from source
git clone https://github.com/Rivaldito/shepherd.git
cd shepherd
./cargo-fork.sh build --release # or: cargo build --releaseThe binary is target/release/shepherd. Put it on your PATH, or run it from there. For a quick local try you can use the debug build (./cargo-fork.sh build, binary in target/debug/shepherd). A debug build reads its configuration from ~/.config/shepherd-dev/ instead of ~/.config/shepherd/.
Enable the orchestrator
Without this switch Shepherd behaves like a plain terminal multiplexer. Create ~/.config/shepherd/config.toml:
[shepherd]
enabled = trueCheck it:
$ shepherd config check
config: okStart it
cd ~/your-repo
shepherd # the desktop app, and the server if it was not running
shepherd --tui # the terminal UI instead; ctrl+b a opens the Shepherd section, ctrl+b q detaches
shepherd --gui # the desktop app, always: it says why when it cannot openshepherd on its own opens the desktop app when it is installed and there is a screen, and the terminal UI otherwise. SHEPHERD_NO_GUI=1 shepherd opens the terminal UI even where the app is installed. Any other word after shepherd is a CLI command, such as:
shepherd status server # is the server up, which version, and where its socket is