Install AI Badger
July 14, 2026 ยท View on GitHub
This document covers install and build paths for the public OSS binary.
Homebrew
Install from the shared PVRLabs tap:
brew install pvrlabs/tap/badger
The tap pulls release tarballs from GitHub Releases.
Curl Installer
Install the latest release:
curl -fsSL https://raw.githubusercontent.com/PVRLabs/aibadger/main/install.sh | sh
The installer downloads the matching GitHub Release tarball for your platform,
verifies its SHA-256 checksum, and installs badger into ~/.local/bin by
default. If that directory is not on your PATH, add it before running
badger.
Install a specific release:
curl -fsSL https://raw.githubusercontent.com/PVRLabs/aibadger/main/install.sh | BADGER_VERSION=v0.2.0 sh
Install into a custom directory:
curl -fsSL https://raw.githubusercontent.com/PVRLabs/aibadger/main/install.sh | BADGER_INSTALL_DIR="$HOME/bin" sh
Windows
PowerShell one-liner (default install to %LOCALAPPDATA%\Programs\Badger):
irm https://raw.githubusercontent.com/PVRLabs/aibadger/main/install.ps1 | iex
Custom directory or version:
$env:BADGER_INSTALL_DIR = "$HOME\bin"; irm https://raw.githubusercontent.com/PVRLabs/aibadger/main/install.ps1 | iex
$env:BADGER_VERSION = "v0.2.0"; irm https://raw.githubusercontent.com/PVRLabs/aibadger/main/install.ps1 | iex
Manual: download badger_<version>_windows_amd64.zip from the latest release and extract badger.exe to your PATH.
Build from source:
go install github.com/PVRLabs/aibadger/cmd/badger@latest
Build From Source
Development build:
go build -o badger ./cmd/badger
Release-style build:
go build -tags aibadger_release -ldflags="-s -w" -o badger ./cmd/badger
Verify
Check the binary version:
./badger --version
Expected output:
badger v0.2.0
Published installs should report the current release version. Source builds from
main may report the next development version, for example badger v0.2.1-dev,
until the next release is prepared.
Release Notes
For release publishing and artifact details, see releasing.md.