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 ✅
sonoma ✅
macOS on
Intel
sonoma ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 1.10.0

Depends on when building from source:

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

Binaries: sqlcmd

GitHub Packages downloads:

Last 30 days17,928
Downloads177,604
Analytics install events (30 days)4,196
Downloads / install events (30 days)4.3×

Source: GitHub Packages, fetched 2026-11-07T00:50:22Z. Analytics dates: 2026-10-08 to 2026-11-07. 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
Installs4,1938,48831,403
Installs (--HEAD)3825
Installs on Request4,1938,48831,403
Installs on Request (--HEAD)3825
Build Errors3