sqlcmd

Install command:
brew install sqlcmd

Microsoft SQL Server command-line interface

https://github.com/microsoft/go-sqlcmd

License: MIT

Development: Pull requests

Formula JSON API: /api/formula/sqlcmd.json

Formula code: sqlcmd.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 1.11.0

Depends on when building from source:

go 1.27.4 Open source programming language to build simple/reliable/efficient software

Binaries: sqlcmd

GitHub Packages downloads:

Last 30 days26,275
Downloads197,779
Analytics install events (30 days)5,053
Downloads / install events (30 days)5.2×

Source: GitHub Packages, fetched 2026-11-27T00:55:38Z. Analytics dates: 2026-10-28 to 2026-11-27. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs5,05110,30233,213
Installs (--HEAD)2726
Installs on Request5,05110,30133,213
Installs on Request (--HEAD)2726
Build Errors2