One-line install
The fastest way to install Rampart:The curl installer drops the binary in
~/.local/bin and runs rampart quickstart automatically.Pin a specific version
By default, the installer downloads the latest release. To pin a specific version:Alternative installation methods
- Homebrew
- Go install
- Download binary
- Build from source
Install via Homebrew (macOS and Linux):
After installing via Homebrew, run
rampart quickstart to set up the background service and agent hooks.Verify installation
Check that Rampart is installed correctly:Platform-specific notes
macOS: SIP restrictions
macOS: SIP restrictions
macOS System Integrity Protection (SIP) blocks
LD_PRELOAD for binaries in /usr/bin/. This doesn’t affect AI agents, which typically live in:- Homebrew:
/opt/homebrew/bin/or/usr/local/bin/ - nvm:
~/.nvm/versions/node/ - pyenv:
~/.pyenv/versions/ - cargo:
~/.cargo/bin/
rampart preload works fine with these.Linux: systemd service
Linux: systemd service
The install script sets up a systemd user service:The service starts automatically on boot.
Windows: PowerShell execution policy
Windows: PowerShell execution policy
If you get an error running the install script, you may need to allow script execution:This only affects the current user and doesn’t require admin rights.After installation, Rampart is added to your user PATH at
~/.rampart/bin.PATH configuration
PATH configuration
If
rampart isn’t found after installation, add the install directory to your PATH:What’s installed
The installation process:- Downloads the binary to
~/.local/bin/rampart(or~/.rampart/bin/rampart.exeon Windows) - Verifies the SHA-256 checksum to ensure integrity
- Adds to PATH (on Windows, updates user PATH environment variable)
- Runs
rampart quickstartto set up the background service and detect agents
The one-line installer runs
rampart quickstart automatically. If you install via Homebrew or Go, you’ll need to run rampart quickstart manually.Upgrading
Upgrade to the latest version:~/.rampart/policies/custom.yaml are never overwritten.
Uninstalling
Remove Rampart completely:- The binary
- Background service (systemd/launchd)
- Agent hooks
- Configuration and audit logs (after confirmation)
Next steps
Quick start
Set up Rampart for your agent in under 2 minutes
Agent integration
See detailed setup instructions for your specific agent