Install
Each release has ready binaries for Linux, macOS and Windows. Each archive has a sha256 checksum next to it. The Linux binaries use a static link (musl) and they do not need a specific glibc version.
Release binaries
Section titled “Release binaries”The archives have the name winrig-v<version>-<target>, where the target is one of:
x86_64-unknown-linux-muslaarch64-unknown-linux-muslx86_64-apple-darwinaarch64-apple-darwinx86_64-pc-windows-msvc
On macOS, the aarch64 archive is for Apple Silicon and the x86_64 archive is for Intel. Both tar and unzip work, because the archive holds LICENSE and README.md next to the binary.
Download the archive and the checksum, check the checksum, and install the binary:
# Replace the version and the target with your platform.curl -LO https://github.com/fgbm/winrig/releases/latest/download/winrig-v0.2.0-x86_64-unknown-linux-musl.tar.gzcurl -LO https://github.com/fgbm/winrig/releases/latest/download/winrig-v0.2.0-x86_64-unknown-linux-musl.sha256sha256sum -c winrig-v0.2.0-x86_64-unknown-linux-musl.sha256tar xzf winrig-v0.2.0-x86_64-unknown-linux-musl.tar.gzinstall -m 0755 winrig ~/.local/bin/winrigBuild from source
Section titled “Build from source”The project pins the toolchain in rust-toolchain.toml (Rust 1.98). Install the Rust toolchain, then build the release binary:
cargo build --releaseThe binary is at target/release/winrig.
Continue with the quick start to create a profile.