Skip to content

Installation

Abdulkader Safi edited this page Nov 16, 2026 · 1 revision

Installation

The CLI

With Rust installed (1.89 or newer):

cargo install sitevet-cli

Or a prebuilt binary. macOS and Linux:

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/Abdulkader-Safi/sitevet/releases/latest/download/sitevet-cli-installer.sh | sh

Windows (PowerShell):

irm https://github.com/Abdulkader-Safi/sitevet/releases/latest/download/sitevet-cli-installer.ps1 | iex

Binaries for macOS (arm64, x86_64), Linux (arm64, x86_64, static musl) and Windows (x86_64) are also on the releases page.

Check it worked:

sitevet --version

The CLI comes with the browser stage and run history built in.

The library

cargo add sitevet
cargo add tokio --features macros,rt-multi-thread

The crate has three optional features, all off by default:

Feature Adds Pulls in
browser Rendered checks in a local Chrome: axe-core accessibility, Core Web Vitals, timings, render_crawl chromiumoxide
history The History run store rusqlite (bundled SQLite), zstd, directories
media Reserved for the image size audit (planned) nothing yet
cargo add sitevet --features browser,history

Without features the library makes no browser or database dependency part of your build.

Chrome for rendered checks

--browser (CLI) or browser = true (library, with the browser feature) uses the Chrome or Chromium already installed on the machine. sitevet looks in the usual install places. Point it somewhere else with --chrome-path, the chrome_path option or the SITEVET_CHROME environment variable.

No Chrome? A PageSpeed Insights API key (SITEVET_PSI_KEY) fills the same accessibility and Core Web Vitals checks for the first 5 pages (psi_max_pages). See Checks and scoring.

Clone this wiki locally