# csvq を Homebrew, apk, Nix でインストール

csvq のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:csvq
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install csvq
```

  証拠: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add csvq
```

  証拠: Alpine Linux edge package indexes: csvq from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#csvq
```

  証拠: nixpkgs package indexes: pkgs/by-name/cs/csvq/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:csvq
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.18.1
- **ソース概要:** SQL-like query language for csv
- **ホームページ:** <https://mithrandie.github.io/csvq>
- **リポジトリ:** <https://github.com/mithrandie/csvq>
- **最終更新:** 2026-07-25T14:20:52-04:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- csvq (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.18.1
## プロジェクトの歴史と使われ方

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.

### タイムライン

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

### ソース

- <https://mithrandie.github.io/csvq>
- <https://github.com/mithrandie/csvq#readme>
- <https://github.com/mithrandie/csvq/blob/master/CHANGELOG.md>
- <https://github.com/mithrandie/csvq/releases>


## セキュリティノート

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

- **Geiger リスク:** blue / 中
- broad file, network, media, or database tool signal

## 他のパッケージマネージャ記録

- Nix - csvq: normalized package name match | nixpkgs package indexes: pkgs/by-name/cs/csvq/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - csvq - 1.18.1-r28: normalized package name match | Alpine Linux edge package indexes: csvq from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | SQL-like query language for csv format | https://github.com/mithrandie/csvq


## Combined YAML source

View the package source record on GitHub. [combined/csvq.yml](https://github.com/mxcl/pkgdb/blob/main/combined/csvq.yml)


## ソース

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