Skip to content

xsv

Agent-readyData & DBData

CSV indexing, stats, and fast tabular data from the terminal.

CSV indexing, stats, and fast tabular data from the terminal. Built by BurntSushi.

Task fit

csv indexing, stats, and fast tabular data from the terminal.

Lane

Inspect schemas, run safe queries, and understand your data fast.

Operator brief

Use xsv for csv indexing, stats, and fast tabular data from the terminal.

Run `xsv stats data.csv` and see what comes back.

Repository family

BurntSushi

First trust check

xsv responds locally and is ready for the first real command.

Safe first loop

Install, verify, then run one real command.

Safe database loop

Install command

$ cargo install xsv

Operator pack

Copy or export the working notes for this CLI before handing it to an agent.

Verify

$ xsv --version

xsv responds locally and is ready for the first real command.

First real command

$ xsv stats data.csv

First steps

  1. 01Install xsv.
  2. 02Run `xsv --version` first.
  3. 03Start with `xsv stats data.csv`.
  4. 04Install a CLI that matches your database engine.

When to use / hold off when

Best for

csv indexing, stats, and fast tabular data from the terminal.

Use this when

You need data processing in both local dev and CI.

Hold off when

You don't work with data processing.

Trust and constraints

trusted100/100
Install readyTrusted
JSON outputNo
Non-interactiveYes
CI-friendlyYes

Why operators pick it

  • xsv fits data & db well, especially for csv indexing, stats, and fast tabular data from the terminal.
  • 3,465 crates recent downloads.
  • Easy to automate.

Constraints

  • Output is mostly plain text.

Facts and links

Install withcargo
crates recent downloads3.5K
GitHub stars10.8K
LicenseUnlicense
UpdatedApr 24, 2025