# dsq を Homebrew, MacPorts, Nix, pacman でインストール

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

## インストール

```sh
sudo av install brew:dsq
```

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

### macOS

- Homebrew (100%):

```sh
brew install dsq
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install dsq
```

  証拠: MacPorts ports tree: textproc/dsq/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#dsq
```

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

- pacman (92%):

```sh
sudo pacman -S dsq
```

  証拠: Arch Linux sync databases: dsq from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## パッケージ情報

- **パッケージキー:** brew:dsq
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.23.0
- **ソース概要:** CLI tool for running SQL queries against JSON, CSV, Excel, Parquet, and more
- **ホームページ:** <https://github.com/multiprocessio/dsq>
- **リポジトリ:** <https://github.com/multiprocessio/dsq>
- **最終更新:** 2026-07-29T17:01:33+09:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- dsq (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

dsq is a Go command-line tool for running SQL queries over data files such as JSON, CSV, Excel, Parquet, TSV, and logs. Upstream now labels it not under active development and points users toward DuckDB, ClickHouse-local, and GlareDB-style analytics foundations.

### プロジェクトの歴史

The README presents dsq as a CLI companion to DataStation, the Multiprocess Labs GUI for querying data files. Its implementation approach is SQLite-centered, which made it convenient and portable for mixed local files but eventually less attractive than columnar/vectorized analytics engines.

The release history moved quickly through 2022: 0.15 added query-file and cache flags, 0.16 added an interactive REPL, 0.22 added logfmt support, and v0.23.0 fixed nested JSON handling. The README later opened with a not-under-active-development notice and recommended DuckDB, ClickHouse-local, and GlareDB instead.

### 採用の歴史

dsq's adoption came from the CLI data-wrangling crowd: people who wanted `jq`-adjacent convenience but preferred SQL over local structured files. It shipped Homebrew installation instructions in the README and has also appeared in MacPorts, Nix, and Arch packages.

Homebrew analytics showed 159 installs over the preceding 365 days during this batch, consistent with a useful but superseded utility.

### 使われ方

Typical use is `dsq file.json 'SELECT ... FROM {}'`, piping data with `-s`, joining multiple files as numbered tables, pretty-printing results, dumping inferred schema, caching imported data, or using the interactive REPL added in the 0.16 line.

### パッケージ好きにとっての重要性

dsq is package-nerd significant because it marks a short transitional moment in local data tools: single-binary SQL over arbitrary files before DuckDB became the obvious answer for many of the same workflows. Its own README now documents that transition by pointing users away from dsq toward stronger analytics engines.

### タイムライン

- 2022-04-20: 0.15.0 added query-file and cache support.
- 2022-04-26: 0.16.0 added a basic interactive REPL.
- 2022-08-26: v0.22.0 added logfmt support.
- 2022-10-20: v0.23.0 fixed nested JSON query handling and is the Homebrew stable version recorded for this batch.
- Later README state: Upstream marked the project not under active development and recommended DuckDB, ClickHouse-local, and GlareDB.

### Related projects

- DataStation is the GUI companion project named by the README.
- DuckDB, ClickHouse-local, and GlareDB are the README's recommended successors or alternatives.
- SQLite is the underlying style of engine the README contrasts with newer columnar/vectorized systems.
- jq is a common neighboring CLI in local JSON/data-wrangling workflows.

### ソース

- <https://github.com/multiprocessio/dsq#readme>
- <https://github.com/multiprocessio/dsq/releases/tag/0.15.0>
- <https://github.com/multiprocessio/dsq/releases/tag/0.16.0>
- <https://github.com/multiprocessio/dsq/releases/tag/v0.22.0>
- <https://github.com/multiprocessio/dsq/releases/tag/v0.23.0>
- <https://formulae.brew.sh/formula/dsq>


## セキュリティノート

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

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

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

- Nix - dsq: normalized package name match | nixpkgs package indexes: pkgs/by-name/ds/dsq/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - dsq - 0.23.0-3: normalized package name match | Arch Linux sync databases: dsq from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | CLI tool for running SQL queries against JSON/CSV/Excel/Parquet and more | https://github.com/multiprocessio/dsq
- MacPorts - dsq: normalized package name match | MacPorts ports tree: textproc/dsq/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/dsq.yml](https://github.com/mxcl/pkgdb/blob/main/combined/dsq.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
