# Install sql-language-server with Homebrew

Language Server for SQL. Version 1.7.1 via Homebrew; verified 2026-06-22.

## Install

```sh
sudo av install brew:sql-language-server
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install sql-language-server
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:sql-language-server
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/sql-language-server>
- **Version:** 1.7.1
- **Source summary:** Language Server for SQL
- **Homepage:** <https://github.com/joe-re/sql-language-server>
- **Repository:** <https://github.com/joe-re/sql-language-server>
- **Upstream docs:** <https://github.com/joe-re/sql-language-server#readme>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/sql-language-server/-/sql-language-server-1.7.1.tgz>
- **Last updated:** 2026-06-22T14:06:21-07:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- sql-language-server (cli)
- sql-language-server (alias)

## Dependencies

- node
- terminal-notifier

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.7.1
- Package-manager updated: 2026-06-22
- Local data: ok
- Upstream repository: https://github.com/joe-re/sql-language-server
- info: No cached GitHub release or tag data was available.
## Project history and usage

SQL Language Server is a TypeScript language-server implementation for SQL editing, packaged as both an editor-facing tool and a command-line server. Its README describes autocompletion, warnings and errors, linting, a SQL parser, and a Visual Studio Code extension, with support for MySQL, PostgreSQL, SQLite3, and BigQuery configuration.

### Project history

The public GitHub repository was created in May 2018 and is organized as a small ecosystem: the server package, a sqlint linting package, a VS Code client, and a SQL parser. Later releases in 2023 show continued grammar and parser maintenance, including support for CTEs, create table options, create index statements, and drop table statements.

### Adoption history

The project fits the post-Language Server Protocol editor culture in which command-line language servers are installed once and then wired into Vim, Neovim, VS Code, Monaco, or another client. The official README documents npm global installation, Neovim LanguageClient setup, nvim-lsp setup, and a VS Code extension, which made it useful beyond one editor.

### How it is used

Common CLI usage is `sql-language-server up --method stdio`, usually launched by an editor or LSP client rather than typed by hand. Users place database connection details in a personal `.sqllsrc.json` file or a project-root `.sqllsrc.json`; those files can include usernames, passwords, SSH settings, and project path matching.

### Why package nerds care

For package-manager users, SQL Language Server is interesting because it turns SQL support into a conventional Unix-style executable with editor-neutral stdio transport. Homebrew packaging matters because editors and dotfile setups can depend on `sql-language-server` being present in PATH without caring whether it came from npm, Brew, or an editor extension.

### Timeline

- 2018: GitHub repository created.
- 2018: README documented npm global installation and editor integration.
- 2023: 1.4.x to 1.7.x releases added and fixed parser support for more SQL statements.
- 2024: Repository remained active on the release branch.

### Related projects

- The README names its own related packages: `sql-language-server`, `sqlint`, a Visual Studio Code extension, and a SQL parser. It also documents integration with LanguageClient-neovim, nvim-lspconfig, and monaco-languageclient.

### Sources

- <https://api.github.com/repos/joe-re/sql-language-server>
- <https://api.github.com/repos/joe-re/sql-language-server/releases>
- <https://github.com/joe-re/sql-language-server#readme>


## Security Notes

broad file, network, media, or database tool signal.

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.config/sql-language-server/.sqllsrc.json, ${YOUR_PROJECT_ROOT}/.sqllsrc.json

## Credential files

- Unix: ~/.config/sql-language-server/.sqllsrc.json, ${YOUR_PROJECT_ROOT}/.sqllsrc.json
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** sql-language-server
- **Version Scheme:** 0
- **Revision:** 1
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [node](https://www.automicvault.com/pkg/brew/node/) - Runtime dependency declared by Homebrew.
- [terminal-notifier](https://www.automicvault.com/pkg/brew/terminal-notifier/) - Runtime dependency declared by Homebrew.
- [ccls](https://www.automicvault.com/pkg/brew/ccls/) - Shares av.db curated category or tags: cli, developer-tools, language-server, language-server-protocol.
- [efm-langserver](https://www.automicvault.com/pkg/brew/efm-langserver/) - Shares av.db curated category or tags: cli, developer-tools, language-server, linting.
- [erlang_ls](https://www.automicvault.com/pkg/brew/erlang-ls/) - Shares av.db curated category or tags: cli, developer-tools, editor-tools, language-server.
- [golangci-lint-langserver](https://www.automicvault.com/pkg/brew/golangci-lint-langserver/) - Shares av.db curated category or tags: cli, developer-tools, language-server, linting.
- [marksman](https://www.automicvault.com/pkg/brew/marksman/) - Shares av.db curated category or tags: cli, developer-tools, editor-tools, language-server.
- [postgres-language-server](https://www.automicvault.com/pkg/brew/postgres-language-server/) - Shares av.db curated category or tags: cli, developer-tools, language-server, sql.
- [purescript-language-server](https://www.automicvault.com/pkg/brew/purescript-language-server/) - Shares av.db curated category or tags: cli, developer-tools, language-server, language-server-protocol.
- [ruby-lsp](https://www.automicvault.com/pkg/brew/ruby-lsp/) - Shares av.db curated category or tags: cli, developer-tools, editor-tools, language-server.
- [yaml-language-server](https://www.automicvault.com/pkg/brew/yaml-language-server/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, editor, language.

## Combined YAML source

View the package source record on GitHub. [combined/sql-language-server.yml](https://github.com/automic-vault/db/blob/main/combined/sql-language-server.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
