# Install zsv with Homebrew, MacPorts, Nix, winget

Tabular data swiss-army knife CLI. Version 1.4.3 via Homebrew; verified 2026-06-22.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install zsv
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install zsv
```

  Evidence: 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
```

  Evidence: 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
```

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

## Package facts

- **Package key:** brew:zsv
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/zsv>
- **Version:** 1.4.3
- **Source summary:** Tabular data swiss-army knife CLI
- **Homepage:** <https://github.com/liquidaty/zsv>
- **Repository:** <https://github.com/liquidaty/zsv>
- **Upstream docs:** <https://github.com/liquidaty/zsv#readme>
- **License:** MIT
- **Source archive:** <https://github.com/liquidaty/zsv/archive/refs/tags/v1.4.3.tar.gz>
- **Last updated:** 2026-06-22T14:06:46-07:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- zsv (cli)
- zsv (alias)

## Dependencies

- jq
- pcre2

## Uses from macOS

- ncurses

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.4.3
- Package-manager updated: 2026-06-22
- Local data: ok
- Upstream repository: https://github.com/liquidaty/zsv
- Upstream latest detected: v1.4.3 (current)
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** zsv
- **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:** head, stable

## Other Package-Manager Records

- 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


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [jq](https://www.automicvault.com/pkg/brew/jq/) - Runtime dependency declared by Homebrew.
- [pcre2](https://www.automicvault.com/pkg/brew/pcre2/) - Runtime dependency declared by Homebrew.
- [csvkit](https://www.automicvault.com/pkg/brew/csvkit/) - Shares av.db curated category or tags: cli, csv, data, tabular-data.
- [csvlens](https://www.automicvault.com/pkg/brew/csvlens/) - Shares av.db curated category or tags: cli, csv, data.
- [csvq](https://www.automicvault.com/pkg/brew/csvq/) - Shares av.db curated category or tags: cli, csv, data.
- [csvtk](https://www.automicvault.com/pkg/brew/csvtk/) - Shares av.db curated category or tags: cli, csv, data.
- [qsv](https://www.automicvault.com/pkg/brew/qsv/) - Shares av.db curated category or tags: cli, csv, data.
- [xan](https://www.automicvault.com/pkg/brew/xan/) - Shares av.db curated category or tags: cli, csv, data.
- [beanquery](https://www.automicvault.com/pkg/brew/beanquery/) - Shares av.db curated category or tags: cli, data, tabular-data.
- [cqlkit](https://www.automicvault.com/pkg/brew/cqlkit/) - Shares av.db curated category or tags: cli, csv, data.

## Combined YAML source

View the package source record on GitHub. [combined/zsv.yml](https://github.com/automic-vault/db/blob/main/combined/zsv.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
