Installation¶
Homebrew (macOS & Linux)¶
The fastest way to install Rampart:
This installs the rampart binary.
Go Install¶
Requires Go 1.24+:
Add to PATH
Make sure $(go env GOPATH)/bin is in your $PATH, or create a symlink:
Binary Download¶
Download pre-built binaries from GitHub Releases.
Binaries are available for Linux (amd64/arm64) as .tar.gz and macOS (amd64/arm64) as .zip:
# Example: Linux amd64
tar xzf rampart_*_linux_amd64.tar.gz
sudo mv rampart /usr/local/bin/
# Example: macOS (unzip, then move)
unzip rampart_*_darwin_arm64.zip
sudo mv rampart /usr/local/bin/
Build from Source¶
git clone https://github.com/peg/rampart.git
cd rampart
go build -o rampart ./cmd/rampart
go test ./...
sudo mv rampart /usr/local/bin/
Verify Installation¶
Next Steps¶
- Quick Start → — Set up Rampart with Claude Code in 60 seconds
- Configuration → — Learn the YAML policy format