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.4 Open source programming language to build simple/reliable/efficient software

Binaries: sqlcmd

GitHub Packages downloads:

Last 30 days18,916
Downloads181,313
Analytics install events (30 days)4,255
Downloads / install events (30 days)4.5×

Source: GitHub Packages, fetched 2026-11-12T00:53:27Z. Analytics dates: 2026-10-13 to 2026-11-12. 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,2538,73931,688
Installs (--HEAD)2825
Installs on Request4,2538,73931,688
Installs on Request (--HEAD)2825
Build Errors2