Installation
rwarden is distributed as a single, statically compiled binary with zero external runtime dependencies. Choose the installation method for your operating system:
macOS Installation
rwarden runs natively on Apple Silicon (M1/M2/M3/M4) and Intel (x86_64) Macs. Choose your preferred package manager or installer:
# Install using the official Routewarden Homebrew Tapbrew install routewarden/tap/rwarden# Verify installationrwarden versionmacOS Gatekeeper Notice
If macOS displays "Apple could not verify “rwarden” is free of malware..." when running a manually downloaded binary, macOS Gatekeeper has placed it in quarantine. You can remove the quarantine flag using:
# Remove quarantine attribute from PATH binaryxattr -d com.apple.quarantine $(which rwarden)# Or for a downloaded binary directly:xattr -d com.apple.quarantine rwardenAlternatively, navigate to System Settings > Privacy & Security and click "Allow Anyway" next to the rwarden prompt. (Homebrew installs are not affected by this notice).
Linux Installation
rwarden supports all major Linux distributions (Ubuntu, Debian, Fedora, RHEL, CentOS, Rocky Linux, Alpine, Arch) with native package manager support:
# Download official .deb package (amd64)curl -fsSLO https://github.com/routewarden/cli/releases/latest/download/rwarden_linux_amd64.deb# Install with automatic dependency resolution via APTsudo apt install ./rwarden_linux_amd64.deb# Verify installationrwarden versionPre-Built Release Binaries
Download standalone, statically compiled binaries for Linux, macOS, and Windows directly from GitHub Releases:
| Platform | Architecture | Archive | Package / Command |
|---|---|---|---|
macOS (rwarden) | Apple Silicon (arm64) | rwarden_5.5.0_darwin_arm64.tar.gz | brew install routewarden/tap/rwarden |
macOS (rwarden) | Intel (amd64) | rwarden_5.5.0_darwin_amd64.tar.gz | brew install routewarden/tap/rwarden |
Linux (rwarden) | 64-bit (amd64) | rwarden_5.5.0_linux_amd64.tar.gz | rwarden_linux_amd64.deb / rwarden_linux_amd64.rpm |
Linux (rwarden) | ARM64 (arm64) | rwarden_5.5.0_linux_arm64.tar.gz | rwarden_linux_arm64.deb / rwarden_linux_arm64.rpm |
Windows (rwarden) | 64-bit (amd64) | rwarden_5.5.0_windows_amd64.zip | Standalone Zip |
macOS (tcp-warden) | Universal | tcp-warden_5.5.0_darwin_arm64.tar.gz / amd64 | brew install routewarden/tap/tcp-warden |
Linux (tcp-warden) | 64-bit / ARM64 | tcp-warden_5.5.0_linux_amd64.tar.gz / arm64 | tcp-warden_linux_amd64.deb / rpm |
Windows (tcp-warden) | 64-bit (amd64) | tcp-warden_5.5.0_windows_amd64.zip | Standalone Zip |
All downloads and SHA256 checksums are published on the GitHub Releases Page.
Container Images (Docker / CI/CD)
Routewarden publishes four official, security-hardened container images on GitHub Container Registry (ghcr.io):
# Full CLI toolkit: validate, audit, test, or run sandboxdocker run --rm -v $(pwd)/routewarden.json:/routewarden.json ghcr.io/routewarden/cli:latest validate --config /routewarden.json# Test path interactivelydocker run --rm ghcr.io/routewarden/cli:latest test --path "/.env"Official Container Distributions
| Image | Tag | Binary Size | Intended Workload |
|---|---|---|---|
ghcr.io/routewarden/cli | :latest, :5.5.0 | ~12 MB | Full Toolkit: Verification, audits, tests, path simulators, code generation, sandboxes, and Docker CLI container tailing |
ghcr.io/routewarden/shipper | :latest, :5.5.0 | ~6.2 MB | Ultra-Lean Remote Shipper: Zero SQLite, zero UI assets. Dedicated to rwarden push --docker for edge nodes, IoT gateways, and low-RAM VPS instances |
ghcr.io/routewarden/dashboard | :latest, :5.5.0 | ~11 MB | Standalone SOC Dashboard: Turnkey web dashboard server on port 7890 with embedded SQLite persistence and SSE event stream |
ghcr.io/routewarden/tcp-warden | :latest, :5.5.0 | ~14 MB | Dedicated L4 Reverse Proxy: Minimal Alpine container with protocol defense engine, CrowdSec remediation, SQLite banlists, and modular plugin loader |
From Source (Go)
If you have Go 1.22+ installed, compile and install from source:
# Via Go Install (Go 1.22+)go install github.com/routewarden/cli@latest# Or build from Git repository:git clone https://github.com/routewarden/cli.gitcd cligo build -o /usr/local/bin/rwarden .Verification
Verify that rwarden is accessible in your system $PATH:
rwarden version# rwarden version 5.5.0Uninstallation
rwarden packages (Homebrew, APT, RPM, APK) include automated pre-removal hooks that gracefully terminate active background services (dashboard, push shipper) and ephemeral sandbox containers. To remove Routewarden:
# Homebrew (automatic pre-uninstall hook stops services):brew uninstall rwarden# Debian / Ubuntu (automatic preremove script stops services):sudo apt remove rwarden# RHEL / Fedora (automatic preremove script stops services):sudo rpm -e rwarden# Alpine Linux (APK):apk del rwarden# Universal automated uninstaller:curl -fsSL https://routewarden.github.io/uninstall.sh | bash# Manual binary removal:rwarden stop && rwarden cleanupsudo rm -f /usr/local/bin/rwarden