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.
| Platform | File | Size | SHA-256 |
|---|---|---|---|
| Windows x64 | badger-sql-migrate-0.3.0-win-x64.zip | 41 MB | 8f9133a4db6963ef… |
| Windows Arm64 | badger-sql-migrate-0.3.0-win-arm64.zip | 40 MB | d49a455a475a45a8… |
| macOS Apple silicon | badger-sql-migrate-0.3.0-osx-arm64.tar.gz | 40 MB | 7cc3dd43517511a7… |
| macOS Intel | badger-sql-migrate-0.3.0-osx-x64.tar.gz | 42 MB | 25ef7768ede3f60d… |
| Linux x64 (glibc) | badger-sql-migrate-0.3.0-linux-x64.tar.gz | 51 MB | 041c107f702dfd76… |
| Linux Arm64 (glibc) | badger-sql-migrate-0.3.0-linux-arm64.tar.gz | 38 MB | 5936f4043434d9ac… |
| Linux x64 (Alpine / musl) | badger-sql-migrate-0.3.0-linux-musl-x64.tar.gz | 51 MB | 6186cdf148148677… |
| Any OS with .NET 10 runtime | badger-sql-migrate-0.3.0-portable.zip | 30 MB | aea3a4decd4d3662… |
| .NET tool package | Badger.SqlMigrate.0.3.0.nupkg | 31 MB | ae4ce4e766e2dcd2… |
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.