Skip to content

Installation

cargo install domguard

From Source (Global Install)

Clone and install globally via Cargo (binary goes to ~/.cargo/bin/):

git clone https://github.com/Guard8-ai/DOMGuard.git
cd DOMGuard
cargo install --path .

This installs domguard to ~/.cargo/bin/, which is automatically in your PATH if you have Rust installed.

From Source (Local Build)

Build without installing globally:

git clone https://github.com/Guard8-ai/DOMGuard.git
cd DOMGuard
cargo build --release

The binary will be at target/release/domguard.

Pre-built Binaries

Download from GitHub Releases:

Platform Binary
Linux x86_64 domguard-linux-x86_64
macOS ARM64 domguard-macos-aarch64
Windows x86_64 domguard-windows-x86_64.exe

Linux/macOS

# Download
curl -LO https://github.com/Guard8-ai/DOMGuard/releases/latest/download/domguard-linux-x86_64

# Make executable
chmod +x domguard-linux-x86_64

# Move to PATH
sudo mv domguard-linux-x86_64 /usr/local/bin/domguard

Windows

Download domguard-windows-x86_64.exe and add to your PATH.

Initialize Project

domguard init

This creates .domguard/ with:

  • config.toml - Configuration settings
  • AGENTIC_AI_GUIDE.md - AI agent quick reference

Verify Installation

domguard --version
domguard status