# Install sqlfluff

SQL linter and auto-formatter for Humans. Version 4.2.2 via Homebrew; verified 2026-06-05.

## Install

```sh
sudo av install brew:sqlfluff
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install sqlfluff
```

  Evidence: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install sqlfluff
```

  Evidence: Debian stable package indexes: sqlfluff from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#sqlfluff
```

  Evidence: nixpkgs package indexes: pkgs/by-name/sq/sqlfluff/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S sqlfluff
```

  Evidence: Arch Linux sync databases: sqlfluff from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## Package Facts

- **Package key:** brew:sqlfluff
- **Package manager:** Homebrew
- **Package manager URL:** <https://formulae.brew.sh/formula/sqlfluff>
- **Version:** 4.2.2
- **Source summary:** SQL linter and auto-formatter for Humans
- **Homepage:** <https://docs.sqlfluff.com/>
- **Repository:** <https://github.com/sqlfluff/sqlfluff>
- **Upstream docs:** <https://docs.sqlfluff.com/>
- **License:** MIT
- **Source archive:** <https://files.pythonhosted.org/packages/af/a3/fa28d6db93930f349a7c99774ae7b4b9c85865a780f98ef1ddeb52abdf5a/sqlfluff-4.2.2.tar.gz>
- **Last updated:** 2026-06-05T19:11:50Z
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

- sqlfluff (cli)
- sqlfluff (alias)

## Dependencies

- libyaml
- python@3.14

## 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-06-10
- Package-manager version: 4.2.2
- Package-manager updated: 2026-06-05
- Local data status: ok
- Upstream repository: https://docs.sqlfluff.com/
- info: Release/tag comparison is only available for GitHub repositories.

## 安全说明

no executable entrypoint in the package index.

- **Geiger risk:** green / low
- no executable entrypoint in the package index

## Source Database Details

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

## Other Package-Manager Records

- Debian apt - sqlfluff - 3.3.1-1: normalized package name match | Debian stable package indexes: sqlfluff from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | SQL linter tool | https://www.sqlfluff.com/
- Debian apt - sqlfluff-doc - 3.3.1-1: normalized package name match | Debian stable package indexes: sqlfluff-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | SQL linter tool - documentation | https://www.sqlfluff.com/
- Nix - sqlfluff: normalized package name match | nixpkgs package indexes: pkgs/by-name/sq/sqlfluff/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - sqlfluff - 2.3.5-1: normalized package name match | Ubuntu 24.04 LTS package indexes: sqlfluff from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | SQL linter tool | https://www.sqlfluff.com/
- Ubuntu apt - sqlfluff-doc - 2.3.5-1: normalized package name match | Ubuntu 24.04 LTS package indexes: sqlfluff-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | SQL linter tool - documentation | https://www.sqlfluff.com/
- pacman - sqlfluff - 4.2.1-1: normalized package name match | Arch Linux sync databases: sqlfluff from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A dialect-flexible and configurable SQL linter | https://github.com/sqlfluff/sqlfluff


## Related Links

- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [python@3.14](https://www.automicvault.com/zh-hans/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [sqruff](https://www.automicvault.com/zh-hans/pkg/brew/sqruff/) - Shares av.db curated category or tags: cli, developer-tools, formatter, linter, sql.
- [protolint](https://www.automicvault.com/zh-hans/pkg/brew/protolint/) - Shares av.db curated category or tags: cli, developer-tools, formatter, linter, linting.
- [sleek](https://www.automicvault.com/zh-hans/pkg/brew/sleek/) - Shares av.db curated category or tags: cli, developer-tools, formatter, sql.
- [sql-lint](https://www.automicvault.com/zh-hans/pkg/brew/sql-lint/) - Shares av.db curated category or tags: cli, developer-tools, linter, sql.
- [sqlfmt](https://www.automicvault.com/zh-hans/pkg/brew/sqlfmt/) - Shares av.db curated category or tags: cli, developer-tools, formatter, sql.
- [iblinter](https://www.automicvault.com/zh-hans/pkg/brew/iblinter/) - Shares av.db curated category or tags: cli, developer-tools, linter, linting.
- [oxlint](https://www.automicvault.com/zh-hans/pkg/brew/oxlint/) - Shares av.db curated category or tags: cli, developer-tools, linter, linting.
- [falco](https://www.automicvault.com/zh-hans/pkg/brew/falco/) - Shares av.db curated category or tags: cli, developer-tools, linter, linting.
- [djlint](https://www.automicvault.com/zh-hans/pkg/brew/djlint/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, formatter, libyaml.
- [salt-lint](https://www.automicvault.com/zh-hans/pkg/brew/salt-lint/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, libyaml, linter.
- [vint](https://www.automicvault.com/zh-hans/pkg/brew/vint/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, libyaml, linter.

## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
