Command-line interface for SQL Server that provides an interactive shell with .commands (e.g., .databases, .tables, .search) and mssql binary for ad-hoc queries. Current version 0.6.2, minimal releases since 2016. Designed for cross-platform usage with options for TDS version, encryption, and output format. Unlike general SQL CLIs (e.g., pgcli), it is SQL Server-specific, using the TDS protocol via tedious.
npm install sql-cliNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Install globally, connect to SQL Server, and use interactive shell commands.
Consider alternatives like mssql-cli or sqlcmd.
Use -v 7_4 for most modern SQL Server instances.
Use environment variable MSSQL_PASS or config file (-c).
Run `npm install -g sql-cli` and ensure npm global bin directory is in PATH.
Check server address, username, password, and that port 1433 is open.
No dependency data recorded yet.