Install with two commands
Requires Node.js 22.19.0 or newer. You do not need to install Pi Coding Agent first: piagent-setup installs the exact host version pinned by the current release. Run it inside the project directory. It installs the Pi package, initializes .pi/, installs the MCP baseline and subagents, and runs doctor. Use --no-mcp, --no-subagents, --no-herdr, or --global-only to omit optional parts.
| Runtime | Rollout status |
|---|---|
| macOS Apple Silicon + Bash | Verified for this release. |
| Linux x64 + Bash | Verified in CI. |
| macOS Intel / Linux ARM64 + Bash | Supported target; run doctor and smoke tests before broad rollout. |
| Native Windows / WSL2 | Not a team rollout target; WSL2 remains experimental. |
npm install -g @piagent/platform
piagent-setup
Because setup runs from the installed package, the source written to .pi/settings.json is npm:@piagent/platform@<version>. It resolves consistently on teammate machines and can be committed.
If you use Herdr, install it first. piagent-setup installs the Herdr Pi integration when herdr is present on PATH. Otherwise it skips the integration with a warning; after installing Herdr, run piagent-setup --global-only.
brew install herdr # macOS
curl -fsSL https://herdr.dev/install.sh | sh # macOS or Linux
The curl form executes a downloaded installer. For an auditable path, use brew or download from GitHub releases. Herdr stable supports macOS and Linux; Windows remains preview.
See the release and install policy for pinned rollout, updates, rollback, and the latest channel for personal machines.