pkg.soopen package index

brew / rank 4954

Install csvq with Homebrew, apk, Nix

SQL-like query language for csv. Version 1.18.1 via Homebrew; verified 2026-07-25. Also installable with nix: nix profile install nixpkgs#csvq.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install csvq

local Homebrew formula metadata

Linux

Alpine Linux apkverified · 92%
sudo apk add csvq

Alpine Linux edge package indexes · csvq · source: dl-cdn.alpinelinux.org

Nixverified · 92%
nix profile install nixpkgs#csvq

nixpkgs package indexes · pkgs/by-name/cs/csvq/package.nix · source: api.github.com

overview

Package summary

SQL-like query language for csv

Commands and aliases

  • csvq

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2017: Version 1.0.0 first general release.
  • 2018: Version 1.3.0 enhanced JSON support; version 1.5.0 added fixed-length format support.
  • 2022: Version 1.16.0 added JSON Lines and BOX export formats.
  • 2023: Version 1.18.x updated dependencies and required Go 1.18 or later.

Related projects

  • The README links csvq-driver for executing csvq statements in Go and a csvq Emacs extension, showing a small ecosystem around the command language.

security posture

Risk level: blue

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

Risk classifier

blue risk · medium confidence · tool

Why

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

Signals

  • text:sql

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
csvqexecutableindexed executableDiscovered from the local executable index.

freshness

Version and 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.

page generated2026-08-03
manager version1.18.1
manager updated2026-07-25
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:csvq
Version1.18.1
Package managerHomebrew
Homepagehttps://mithrandie.github.io/csvq
Repositoryhttps://github.com/mithrandie/csvq
Last updated2026-07-25T14:20:52-04:00
Pulseupdated
Bottlenot recorded
Servicenone declared

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

csvq

nix profile install nixpkgs#csvq
  • normalized package name match
  • Matched by: Csvq
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/cs/csvq/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

csvq 1.18.1-r28

SQL-like query language for csv format

https://github.com/mithrandie/csvq

sudo apk add csvq
  • License: MIT
  • Architecture: x86_64
  • Source Package: csvq
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Csvq
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: csvq from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation