Installation

Pick the installer that fits your platform. Dalfox ships as a single self-contained binary — no runtime to manage.

Homebrew (macOS & Linux)

brew install dalfox

The Homebrew formula tracks the latest stable release. Source: formulae.brew.sh/formula/dalfox.

Snap (Ubuntu / Linux)

sudo snap install dalfox

Nix & NixOS

# Run once without installing
nix-shell -p dalfox

# Nix flakes — run the latest from GitHub
nix run github:hahwul/dalfox -- scan https://example.com

# Install into your profile
nix profile install github:hahwul/dalfox

# Drop into a dev shell with Dalfox available
nix develop github:hahwul/dalfox

Dalfox lives in nixpkgs. The newest releases land in unstable first.

Cargo (from crates.io)

cargo install dalfox

Requires a recent Rust toolchain (stable is fine). Builds into ~/.cargo/bin/dalfox.

Prebuilt binaries

Grab a release archive for your OS/arch from github.com/hahwul/dalfox/releases, extract it, and drop the binary somewhere on your PATH (/usr/local/bin, ~/.local/bin, etc.).

Build from source

git clone https://github.com/hahwul/dalfox
cd dalfox
cargo build --release
# Binary at ./target/release/dalfox

You'll need Rust (2024 edition). Install with rustup if you don't have it.

Verify

dalfox --version

You should see something like dalfox 3.0.0 along with the Dalfox banner.

Update shell completions (optional)

Dalfox uses clap, so help is always accessible:

dalfox --help
dalfox scan --help

Next steps

Run your first scan in the Quick Start. If you want to tune defaults before scanning, jump to Configuration.

ESC