Installation
Vandelay is a single binary without runtime dependencies, built for Linux, macOS and Windows. Every installation method below delivers the same vandelay executable.
Vandelay is versioned independently of Stalwart. Its current release is the one to use with any Stalwart release.
Install script (Linux and macOS)
Section titled “Install script (Linux and macOS)”The install script downloads the binary for the host’s platform and architecture, and installs it into the Cargo binary directory ($CARGO_HOME/bin, by default ~/.cargo/bin):
curl --proto '=https' --tlsv1.2 -LsSf \ https://github.com/stalwartlabs/vandelay/releases/latest/download/vandelay-installer.sh | shThe --proto '=https' and --tlsv1.2 options restrict the download to HTTPS with TLS 1.2 or later. Piping a downloaded script into a shell runs it without inspection. To review the script first, download it to a file, and run it after reading it.
Homebrew
Section titled “Homebrew”On systems that use Homebrew, Vandelay is installed from the Stalwart tap, and upgraded with brew upgrade:
brew install stalwartlabs/tap/vandelayWindows
Section titled “Windows”On Windows, the install script runs in PowerShell:
powershell -ExecutionPolicy Bypass -c "irm https://github.com/stalwartlabs/vandelay/releases/latest/download/vandelay-installer.ps1 | iex"Each release also includes an .msi installer for x86-64 Windows, for environments that deploy software with a conventional installer.
Where tools are managed with Node.js, Vandelay is installed globally from npm:
npm install -g @stalwartlabs/vandelayBuilding from source
Section titled “Building from source”Vandelay is written in Rust. It can be built from a checkout of its repository with a recent toolchain, for example to run an unreleased revision:
cargo install --path .Verifying a release
Section titled “Verifying a release”For each release, the releases page publishes archives of the binary for every platform, a SHA-256 checksum file for each archive (<archive>.sha256), and a combined sha256.sum. Releases are also covered by GitHub build provenance attestations, which gh attestation verify <file> --repo stalwartlabs/vandelay checks. To verify a manually downloaded archive against its checksum file:
sha256sum -c vandelay-x86_64-unknown-linux-gnu.tar.gz.sha256Checking the installation
Section titled “Checking the installation”The installed version is printed by:
vandelay --versionThe Usage page introduces the commands and the options they share.