macOS
brew install csvqlocal Homebrew formula metadata
brew
SQL-like query language for csv. Version 1.18.1 via Homebrew; verified from local package data.
install
brew install csvqlocal Homebrew formula metadata
sudo apk add csvqAlpine Linux edge package indexes · csvq · source: dl-cdn.alpinelinux.org
nix profile install nixpkgs#csvqnixpkgs package indexes · pkgs/by-name/cs/csvq/package.nix · source: api.github.com
overview
SQL-like query language for csv
history
csvq is a Go command-line tool that brings a SQL-like query language to CSV and related text formats. It supports reading, updating, deleting, transactions, procedures, an interactive shell, and exports to formats such as JSON and text tables.
The official changelog marks version 1.0.0, released on September 19, 2017, as the first general release. Subsequent releases expanded the language and format surface, including analytic-function behavior, Go modules, JSON support, fixed-length input, JSON Lines output, and later Go 1.18 dependency updates.
The upstream README documents installation by release archive, Go install, Ubuntu PPA, Arch AUR packages, and Homebrew. That spread reflects csvq's role as a portable single-binary data tool rather than a library that must be embedded into an application.
csvq is aimed at one-time queries and routine processing over data sizes that fit in memory and are comparable to spreadsheet workloads. The README explicitly warns that it is not optimized for very large data because query execution keeps data in memory and does not use indexes or query planning.
For package users, csvq occupies the SQL-on-flat-files niche: more expressive than simple cut/filter tools, lighter to install than a database, and useful in scripts when CSV, TSV, fixed-width, JSON, or JSON Lines files need ad hoc querying.
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.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
csvq | 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/mithrandie/csvq
install metadata
| Package key | brew:csvq |
|---|---|
| Version | 1.18.1 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/csvq |
| Homepage | https://mithrandie.github.io/csvq |
| Repository | https://github.com/mithrandie/csvq |
| Upstream docs | https://mithrandie.github.io/csvq |
| License | MIT |
| Source archive | https://github.com/mithrandie/csvq/archive/refs/tags/v1.18.1.tar.gz |
| Build dependencies | go |
| Bottle | available (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | csvq |
| 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.
csvq
nix profile install nixpkgs#csvqcsvq 1.18.1-r27
SQL-like query language for csv format
https://github.com/mithrandie/csvq
sudo apk add csvqsource 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.