macOS
brew install sqlocal Homebrew formula metadata
sudo port install sqMacPorts ports tree · databases/sq/Portfile · source: api.github.com
brew / rank 2673
Data wrangler with jq-like query language. Version 0.54.1 via Homebrew; verified 2026-07-26. Also installable with debian: sudo apt install sq.
install
brew install sqlocal Homebrew formula metadata
sudo port install sqMacPorts ports tree · databases/sq/Portfile · source: api.github.com
sudo apk add sqAlpine Linux edge package indexes · sq · source: dl-cdn.alpinelinux.org
sudo apt install sqDebian stable package indexes · sq · source: deb.debian.org
nix profile install nixpkgs#sqnixpkgs package indexes · pkgs/by-name/sq/sq/package.nix · source: api.github.com
scoop install main/sqScoop official bucket manifest trees · bucket/sq.json · source: api.github.com
overview
Data wrangler with jq-like query language
history
sq is a Go command-line data wrangler that gives jq-style access to SQL databases and structured document formats such as CSV, Excel, JSON, and XML.
The GitHub repository was created in 2016. The official README describes sq as the 'lovechild of SQL+jq', able to run jq-like queries or database-native SQL and to join across heterogeneous sources.
sq is packaged across several package-manager ecosystems, including Homebrew, Debian, Ubuntu, Alpine, MacPorts, Nix, and Scoop according to the supplied package metadata. Its GitHub releases have continued through v0.54.1 in 2026, and the project maintains a dedicated documentation site at sq.io.
Users add data sources with `sq add`, query them with jq-like syntax, inspect metadata, diff tables or databases, copy data between sources, and emit output formats such as JSON, CSV, Excel, HTML, Markdown, and XML. Source definitions live in `sq.yml`, with optional keyring, environment, file, or 1Password placeholders for secrets.
sq is interesting to package-manager users because it compresses a stack of ad hoc data-inspection tools into one portable CLI. It appeals to people who want jq-like interaction but need to cross the boundary between files, SQL engines, spreadsheets, and exports without setting up a full ETL system.
security posture
No matching local secret-handling manifest was found for sq. Nucleus package metadata is still published here so future coverage has a stable package URL.
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.
$XDG_CONFIG_HOME/sq/sq.yml~/.config/sq/sq.ymlCredential-bearing paths to review before unattended agent runs.
$XDG_CONFIG_HOME/sq/sq.yml~/.config/sq/sq.ymlexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
sq | executable | indexed executable | Discovered from the local executable index. |
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.
install metadata
| Package key | brew:sq |
|---|---|
| Version | 0.54.1 |
| Package manager | Homebrew |
| Homepage | https://sq.io |
| Repository | https://github.com/neilotoole/sq |
| Last updated | 2026-07-26T04:03:44+02:00 |
| Pulse | updated |
| Bottle | not recorded |
| Service | none declared |
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
sq 1.3.1-2+b2
OpenPGP command-line tool from Sequoia
sudo apt install sqsq
nix profile install nixpkgs#sqsq 0.33.0-3
OpenPGP command-line tool from Sequoia
sudo apt install sqsq 0.48.11-r5
CLI tool that provides jq-style access to structured data sources
sudo apk add sqsq-bash-completion 0.48.11-r5
Bash completions for sq
sudo apk add sq-bash-completionsq-doc 0.48.11-r5
CLI tool that provides jq-style access to structured data sources (documentation)
sudo apk add sq-docsq-fish-completion 0.48.11-r5
Fish completions for sq
sudo apk add sq-fish-completionsq-zsh-completion 0.48.11-r5
Zsh completions for sq
sudo apk add sq-zsh-completionsq
sudo port install sqmain/sq
scoop install main/sqsource 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.