sqlcmd
« Back to VersTracker
Description:
Microsoft SQL Server command-line interface
Type: Formula  |  Latest Version: 1.9.0@0  |  Tracked Since: Nov 21, 2025
Links: Homepage  |  formulae.brew.sh
Category: Databases
Tags: sql database microsoft cli devops
Install: brew install sqlcmd
About:
sqlcmd is a command-line tool for connecting to, querying, and managing Microsoft SQL Server instances. It provides a lightweight, scriptable interface for database administrators and developers to execute T-SQL commands, run scripts, and perform batch operations directly from the terminal or shell.
Key Features:
  • Execute T-SQL queries and scripts
  • Connect to SQL Server and Azure SQL
  • Supports batch operations and automation
  • Cross-platform (Windows, macOS, Linux)
  • Integrated authentication and parameter support
Use Cases:
  • Database administration and maintenance tasks
  • Automating deployment and data migration scripts
  • Interactive querying and debugging in development environments
Alternatives:
  • mssql-cli – Interactive CLI with auto-completion and syntax highlighting, but less focused on scripting
  • Azure Data Studio – GUI-based tool with advanced query editing and visualization, not a pure CLI
Version History
Detected Version Rev Change Commit
Dec 27, 2025 6:37pm 1.9.0 0 VERSION_BUMP a1226e62
Nov 21, 2025 8:21pm 0 VERSION_BUMP 38077d1d
Sep 15, 2025 12:20pm 0 VERSION_BUMP d374b060
Dec 30, 2024 5:09pm 0 VERSION_BUMP cf9bb506