Installation

The Diversion CLI is a single static binary with no runtime dependencies.

macOS

curl -sf https://diversionhq.org/install | sh
# Installed to /usr/local/bin/diversion

Or via Homebrew (coming soon).

Windows

# PowerShell (run as Administrator)
iwr https://diversionhq.org/install.ps1 | iex
# Installed to C:\Program Files\Diversion\diversion.exe

The Windows installer adds diversion to %PATH% automatically. You may need to restart your terminal.

Linux

curl -sf https://diversionhq.org/install | sh
# Installed to /usr/local/bin/diversion

Supports x86_64 and aarch64. Tested on Ubuntu 20.04 LTS, Debian 11, Fedora 36.

Verifying the install

diversion --version
diversion doctor   # checks connectivity, auth, and depot access

Updating

diversion update   # downloads latest release binary in-place