macOS
brew install sqrufflocal Homebrew formula metadata
brew
Fast SQL formatter/linter. Version 0.39.0 via Homebrew; verified 2026-07-03.
install
brew install sqrufflocal Homebrew formula metadata
sudo apk add sqruffAlpine Linux edge package indexes · sqruff · source: dl-cdn.alpinelinux.org
nix profile install nixpkgs#sqruffnixpkgs package indexes · pkgs/by-name/sq/sqruff/package.nix · source: api.github.com
scoop install main/sqruffScoop official bucket manifest trees · bucket/sqruff.json · source: api.github.com
overview
Fast SQL formatter/linter
history
sqruff is a Rust-written SQL linter and formatter packaged as a fast, portable developer CLI.
The official sqruff README describes the project as a SQL linter and formatter written in Rust, with configurable linting, automated formatting, speed, and portability as core goals. Official repository metadata places public development in 2023.
The official README presents a package-manager-first quickstart for macOS with brew install sqruff, plus documentation for pip, cargo, and binary downloads. Release pages show continued fast iteration with tagged releases through the 0.3x series.
The supplied package-manager facts show sqruff available through Homebrew, Alpine, Nix, and Scoop. That cross-platform packaging matches the README's portability pitch and makes the tool suitable for local editors, pre-commit hooks, and CI lint jobs.
The README's basic workflow is to install sqruff, run sqruff lint with a SQL dialect such as postgres, and optionally create a .sqruff file in the project root so subsequent lint runs can infer configuration.
Package nerds care about sqruff because SQL formatting and linting often sit in awkward dependency territory between data teams, Python tools, Rust binaries, and editor integrations. sqruff's appeal is that the formatter/linter can be shipped as one fast CLI across package managers.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
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.
Config paths the tool may read or write during local use.
.sqruffexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
sqruff | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/quarylabs/sqruff
install metadata
| Package key | brew:sqruff |
|---|---|
| Version | 0.39.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/sqruff |
| Homepage | https://github.com/quarylabs/sqruff |
| Repository | https://github.com/quarylabs/sqruff |
| Upstream docs | https://github.com/quarylabs/sqruff#readme |
| License | Apache-2.0 |
| Source archive | https://github.com/quarylabs/sqruff/archive/refs/tags/v0.39.0.tar.gz |
| Last updated | 2026-07-03T15:51:03Z |
| Pulse | updated |
| Build dependencies | rust |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | sqruff |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
sqruff
nix profile install nixpkgs#sqruffsqruff 0.25.26-r0
Fast SQL formatter/linter
sudo apk add sqruffsqruff-doc 0.25.26-r0
Fast SQL formatter/linter (documentation)
sudo apk add sqruff-docmain/sqruff
scoop install main/sqruffsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.