# zsv を Homebrew, MacPorts, Nix, winget でインストール

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

## インストール

```sh
sudo av install brew:zsv
```

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

### macOS

- Homebrew (100%):

```sh
brew install zsv
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install zsv
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#zsv
```

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

### Windows

- winget (92%):

```sh
winget install --id liquidaty.zsv -e
```

  証拠: Windows Package Manager source index: liquidaty.zsv from https://cdn.winget.microsoft.com/cache/source.msix

## パッケージ情報

- **パッケージキー:** brew:zsv
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.4.3
- **ソース概要:** Tabular data swiss-army knife CLI
- **ホームページ:** <https://github.com/liquidaty/zsv>
- **リポジトリ:** <https://github.com/liquidaty/zsv>
- **最終更新:** 2026-06-22T14:06:46-07:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- zsv (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

zsv is a C library and extensible command-line utility for parsing, viewing, querying, and converting CSV and related tabular data. Its niche is high-speed, low-memory parsing while still handling messy, spreadsheet-style CSV.

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

The project was created to fill a gap the authors saw among CSV tools: they wanted a parser that was fast, memory-efficient, portable to WebAssembly, usable as both a library and a standalone CLI, and easier to extend than the tools they had evaluated.

The README explicitly compares zsv's goals with tools such as xsv, tsv-utils, Miller, csvkit, DuckDB, Polars, and other SIMD CSV parsers. The result is both zsvlib and the zsv command, with an extension model based on shared libraries.

### 採用の歴史

zsv is a newer and more niche package than long-lived CSV staples, but its adoption story is package-manager and benchmarking driven: it ships prebuilt releases, Homebrew/winget-style install paths are documented, and the README centers repeatable performance comparisons against other CSV tooling.

Its appeal is strongest for users who want a small native CLI instead of loading tabular data through a database, Python runtime, or large analytical engine just to count, select, convert, inspect, or clean CSV files.

### 使われ方

The zsv CLI includes commands such as count, select, sql, flatten, serialize, 2json, 2db, stack, pretty, 2tsv, compare, paste, overwrite, check, jq, and sheet. The sheet command provides an in-console interactive grid viewer with navigation, filtering, and pivot-table-style drill-down.

The parser defaults to real-world CSV behavior closer to spreadsheet programs than strict RFC 4180. It also exposes a SIMD fast parser for standard quoting, a --parallel mode for multi-core parsing, generic-delimited and fixed-width formats, multi-row headers, normalized CSV output, and library APIs for embedding.

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

zsv is package-nerd significant because it represents the modern CSV-tooling arms race: small native binaries, SIMD acceleration, WebAssembly portability, shell composability, and competition with heavier data engines such as DuckDB and Polars.

It also shows how a package can be both a CLI and a library without forcing users into a language ecosystem. That makes it interesting in package indexes where the same tool may be consumed by shell users, C integrators, and binding authors.

### タイムライン

- 2025-2026: README and benchmark docs describe zsv as both zsvlib and an extensible CLI.
- 2026-03-26: Benchmark documentation records v1.4.0-era fast-parser and parallel-parser comparisons.
- 2026: Current README documents SIMD fast parser support on aarch64 NEON, x86-64 AVX2, and x86-64 SSE2.

### Related projects

- Related projects include xsv, qsv, xan, Miller, csvkit, DuckDB, Polars, tsv-utils, SQLite, RFC 4180 CSV tooling, and the zsv Ruby binding.

### ソース

- <https://github.com/liquidaty/zsv>
- <https://raw.githubusercontent.com/liquidaty/zsv/main/README.md>
- <https://raw.githubusercontent.com/liquidaty/zsv/main/app/benchmark/README.md>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

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

- Nix - zsv: normalized package name match | nixpkgs package indexes: pkgs/by-name/zs/zsv/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - zsv: normalized package name match | MacPorts ports tree: textproc/zsv/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- winget - liquidaty.zsv: normalized package name match | Windows Package Manager source index: liquidaty.zsv from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

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