Lone Badger Tech

Download

Version 0.6.0 · November 2026 · MIT license

.NET tool

If you have the .NET 10 SDK, this is the easiest way to install and update:

dotnet tool install --global Badger.Trek
trek --version

Update with dotnet tool update --global Badger.Trek. To pin a version for a repository, use a local tool manifest:

dotnet new tool-manifest
dotnet tool install Badger.Trek --version 0.6.0
dotnet trek status

Standalone binaries

Self-contained single-file executables: nothing else to install. Each archive contains trek (or trek.exe), the license and the readme.

PlatformFileSizeSHA-256
Windows x64badger-trek-0.6.0-win-x64.zip44 MB3c30739d080bee2e…
Windows Arm64badger-trek-0.6.0-win-arm64.zip42 MB367cff5ed5a12a44…
macOS Apple siliconbadger-trek-0.6.0-osx-arm64.tar.gz42 MB58a24ae774c82b9a…
macOS Intelbadger-trek-0.6.0-osx-x64.tar.gz44 MB9c31d24edf6f6449…
Linux x64 (glibc)badger-trek-0.6.0-linux-x64.tar.gz54 MBe6f379c83067d3a8…
Linux Arm64 (glibc)badger-trek-0.6.0-linux-arm64.tar.gz40 MBbdedaf4c17da79d3…
Linux x64 (Alpine / musl)badger-trek-0.6.0-linux-musl-x64.tar.gz54 MB9cbe483a5eca766a…
Any OS with .NET 10 runtimebadger-trek-0.6.0-portable.zip48 MB46d911fbe5d685f0…
.NET tool packageBadger.Trek.0.6.0.nupkg49 MB5bc36eccdcc5901a…

All hashes: SHA256SUMS. Hover a hash for the full value.

macOS

curl -LO https://lonebadgerdownloads.blob.core.windows.net/badger-trek/v0.6.0/badger-trek-0.6.0-osx-arm64.tar.gz
tar -xzf badger-trek-0.6.0-osx-arm64.tar.gz
xattr -d com.apple.quarantine trek   # downloaded with a browser? clear Gatekeeper's quarantine flag
sudo mv trek /usr/local/bin/
trek --version

The macOS binaries are signed ad hoc but not notarized, so a copy downloaded with a browser needs the xattr line above (or right-click › Open once). The .NET tool has no such step.

Linux

curl -LO https://lonebadgerdownloads.blob.core.windows.net/badger-trek/v0.6.0/badger-trek-0.6.0-linux-x64.tar.gz
tar -xzf badger-trek-0.6.0-linux-x64.tar.gz
sudo mv trek /usr/local/bin/

Use the linux-musl-x64 build on Alpine. Integrated (Kerberos) authentication needs the system's GSSAPI library (libgssapi-krb5-2 on Debian/Ubuntu, krb5-libs on RHEL, krb5 on Alpine).

Windows

Invoke-WebRequest https://lonebadgerdownloads.blob.core.windows.net/badger-trek/v0.6.0/badger-trek-0.6.0-win-x64.zip -OutFile trek.zip
Expand-Archive trek.zip -DestinationPath "$env:LOCALAPPDATA\trek"
# add %LOCALAPPDATA%\trek to PATH, then:
trek --version

Verify a download

A migration tool that certifies hashes should be verifiable itself:

curl -LO https://lonebadgerdownloads.blob.core.windows.net/badger-trek/v0.6.0/SHA256SUMS
shasum -a 256 --check --ignore-missing SHA256SUMS      # macOS
sha256sum --check --ignore-missing SHA256SUMS          # Linux
(Get-FileHash badger-trek-0.6.0-win-x64.zip -Algorithm SHA256).Hash   # Windows: compare with SHA256SUMS

Build from source

git clone https://github.com/lonebadger-tech/badger-trek
cd badger-trek
dotnet test                 # SQL Server tests use Docker (Testcontainers) and skip without it
build/publish.sh            # all of the files above, into ./artifacts

Next: Quick start.