← Package directory
Available on winget

Install xan

The CSV magician

Install with winget
winget install --id medialab.xan
Upgrade
winget upgrade --id medialab.xan
Uninstall
winget uninstall --id medialab.xan

About xan

xan is a command line tool that can be used to process CSV files directly from the shell. It has been written in Rust to be as fast as possible, use as little memory as possible, and can very easily handle large CSV files (Gigabytes). It leverages a novel SIMD CSV parser and is also able to parallelize some computations (through multithreading) to make some tasks complete as fast as your computer can allow. It can easily preview, filter, slice, aggregate, sort, join CSV files, and exposes a large collection of comp...

What's new in 0.57.1

Fixes - Fixing xan sort --check -n & xan dedup --check -n printed report. - Fixing xan parallel cat -nS. - Fixing CSV parsing rare edge case panics. - Fixing commands relying on zero-copy CSV parsing for performance. Performance - Improving performance of xan flatten, xan view, xan to & xan network. - Faster xan network -f nodelist in some cases.

Read release notes

Version history

Version Updated Notes
0.57.1 Unknown Fixes - Fixing xan sort --check -n & xan dedup --check -n printed report. - Fixing xan parallel cat -nS. - Fixing CSV parsing rare edge case panics. - Fixing commands relying on zero-copy CSV parsing for performance. Per...
0.57.0 Unknown The temporal update. Breaking - xan select -n will not error anymore on empty inputs and, generally, empty files should not trigger selection errors when using commands with -n/--no-headers. - xan heatmap -C/--cram becom...
0.56.0 Unknown Features - Adding xan bisect. - Adding xan flatten -N/--non-empty. - Adding the soundex, refined_soundex & phonogram moonblade functions for phonetic encoding. Fixes - Fixing xan to (md|html) --no-headers. - Fixing xan p...
0.55.0 Unknown Breaking - Changing how xan separate generates default column names. - xan from -f=(json|ndjson|jsonl) will now emit column in input order by default. - Changing xan to -B/--buffer-size to --sample-size to harmonize flag...
0.54.1 Unknown Fixes - Fixing xan freq --groupby incorrectly unescaping group cells. - Fixing help related to xan pivot & xan unpivot. - Upgrading simd-csv to get safety fixes.
0.54.0 Unknown The SIMD update. Breaking - Bumping MSRV to 1.83.0. - Dropping xan plot -Y/--add-series. It is now possible to select multiple columns as <y> in xan plot <x> <y> instead. - Dropping the -C/--force-colors flag in flatten,...
0.53.0 Unknown Breaking - xan partition now normalizes filenames to lowercase to correctly deal with case-insensitive filesystems. xan partition also gets a related -C/--case-sensitive flag. Features - Adding all and any moonblade high...