CONCEPT · TOOLS
Installing herdr: a basic guide
Install herdr, the terminal workspace manager for coding agents, on macOS, Linux, or Windows, and start your first workspace.
10 min · updated 2026-08
Goal
By the end you'll have herdr installed and running, with an active workspace on a real project and a coding agent showing up in the sidebar.
herdr is a terminal multiplexer built for working with coding agents (Claude Code, Codex, Cursor, opencode, and others). It keeps sessions alive in the background and shows each agent's state —working, blocked, done— so you don't have to check pane by pane.
Prerequisites
- macOS, Linux, or Windows x86_64 (Windows ARM64 runs under emulation).
- A terminal with permission to install binaries onto your
PATH. - A local project to work on.
- Optional: a coding agent already installed (for example Claude Code) so you can see it detected at the end.
This guide covers herdr v0.8.2.
Steps
1. Install the binary
Pick the method for your system.
macOS / Linux (script):
curl -fsSL https://herdr.dev/install.sh | shWindows (PowerShell):
powershell -ExecutionPolicy Bypass -c "irm https://herdr.dev/install.ps1 | iex"Windows (CMD, if PowerShell is blocked):
curl.exe -fsSLo install.cmd https://herdr.dev/install.cmd && install.cmd && del install.cmdHomebrew:
brew install herdrmise:
mise use -g herdrNix (flake): replace v0.x.y with the latest release tag.
nix profile install github:herdrdev/herdr/v0.x.yManual: download the binary for your system from the GitHub releases, make it executable, and add it to your PATH.
2. Verify the install
herdr --versionExpected check: it prints the installed version (for example herdr 0.8.2). If the shell says "command not found", open a new session so it picks up the updated PATH.
3. Start herdr on a project
cd path/to/your/project
herdrThis starts the background server and creates a workspace for that directory. You'll land in the herdr UI with an active terminal pane.
Expected check: you see the herdr sidebar and your shell prompt inside the pane.
4. Launch an agent and see it detected
Inside the pane, start your agent as usual:
claudeherdr detects it automatically and shows its state in the sidebar. Split the pane with prefix+v (split right) or prefix+- (split down); the default prefix is ctrl+b.
5. Detach and reattach
Press prefix+q or close the terminal. Everything keeps running in the background. To come back:
herdr6. Stop the server
When you're done:
herdr server stopExpected result
herdr --versionprints the version.herdropens a workspace on your project and survives closing the terminal.- An agent launched inside a pane shows up with its state in the sidebar.
Troubleshooting
Common issues
herdr: command not foundafter installing: the installer added the binary to yourPATHbut your current shell didn't pick it up. Open a new terminal or reload your profile (source ~/.bashrc,source ~/.zshrc).- Agent not detected: run
herdr agent listto see what it recognizes, andherdr agent explain <target> --jsonto understand why a command doesn't match. - Keybindings don't respond: your terminal or OS is probably capturing
ctrl+bbefore herdr. Check the keyboard guide. - Server logs:
~/.config/herdr/on Linux/macOS,%APPDATA%\herdr\on Windows.
Next step
Tune herdr by editing ~/.config/herdr/config.toml (or %APPDATA%\herdr\config.toml on Windows). See the defaults with herdr --default-config and reload without restarting via herdr server reload-config.