Lone Badger Tech

Download

Version 0.3.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.SqlMigrate
bsm --version

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

dotnet new tool-manifest
dotnet tool install Badger.SqlMigrate --version 0.3.0
dotnet bsm status

Standalone binaries

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

PlatformFileSizeSHA-256
Windows x64badger-sql-migrate-0.3.0-win-x64.zip41 MB8f9133a4db6963ef…
Windows Arm64badger-sql-migrate-0.3.0-win-arm64.zip40 MBd49a455a475a45a8…
macOS Apple siliconbadger-sql-migrate-0.3.0-osx-arm64.tar.gz40 MB7cc3dd43517511a7…
macOS Intelbadger-sql-migrate-0.3.0-osx-x64.tar.gz42 MB25ef7768ede3f60d…
Linux x64 (glibc)badger-sql-migrate-0.3.0-linux-x64.tar.gz51 MB041c107f702dfd76…
Linux Arm64 (glibc)badger-sql-migrate-0.3.0-linux-arm64.tar.gz38 MB5936f4043434d9ac…
Linux x64 (Alpine / musl)badger-sql-migrate-0.3.0-linux-musl-x64.tar.gz51 MB6186cdf148148677…
Any OS with .NET 10 runtimebadger-sql-migrate-0.3.0-portable.zip30 MBaea3a4decd4d3662…
.NET tool packageBadger.SqlMigrate.0.3.0.nupkg31 MBae4ce4e766e2dcd2…

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

macOS

curl -LO https://lonebadgerdownloads.blob.core.windows.net/badger-sql-migrate/v0.3.0/badger-sql-migrate-0.3.0-osx-arm64.tar.gz
tar -xzf badger-sql-migrate-0.3.0-osx-arm64.tar.gz
xattr -d com.apple.quarantine bsm   # downloaded with a browser? clear Gatekeeper's quarantine flag
sudo mv bsm /usr/local/bin/
bsm --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-sql-migrate/v0.3.0/badger-sql-migrate-0.3.0-linux-x64.tar.gz
tar -xzf badger-sql-migrate-0.3.0-linux-x64.tar.gz
sudo mv bsm /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-sql-migrate/v0.3.0/badger-sql-migrate-0.3.0-win-x64.zip -OutFile bsm.zip
Expand-Archive bsm.zip -DestinationPath "$env:LOCALAPPDATA\bsm"
# add %LOCALAPPDATA%\bsm to PATH, then:
bsm --version

Verify a download

A migration tool that certifies hashes should be verifiable itself:

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

Build from source

git clone https://github.com/lonebadger-tech/badger-sql-migrate
cd badger-sql-migrate
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.