Skip to content
aicoolies logo
médialab logo

xan

Blazing-fast Rust-based CSV Swiss Army knife for the terminal

xan is a fast command-line tool for working with CSV files, built in Rust by the Sciences Po medialab team. It provides over 50 subcommands for filtering, sorting, joining, aggregating, and transforming CSV data directly in the terminal. With 3,900 GitHub stars and near-instant processing of multi-gigabyte files, xan replaces workflows that previously required loading data into Python or spreadsheets.

About xan

xan brings the power of a full data analysis toolkit to CSV processing in the terminal. The tool provides subcommands for selecting columns, filtering rows with expressions, sorting, deduplicating, joining multiple files, computing aggregations and statistics, pivoting data, and generating frequency tables. Each operation streams data efficiently, meaning even multi-gigabyte CSV files process in seconds rather than the minutes that Python scripts or spreadsheet applications require.

Built in Rust for maximum performance, xan compiles to a single binary with no runtime dependencies. The expression language for filtering and computing new columns supports mathematical operations, string manipulation, date parsing, and regular expressions. For developers and data analysts who frequently work with CSV exports, log files, or data pipeline outputs, xan eliminates the round-trip to Python or Excel for common data exploration and transformation tasks.

Released under MIT/Unlicense dual licensing with 3,900 GitHub stars and 2,877 commits, xan has a mature and well-documented codebase developed by the Sciences Po medialab research team. The tool integrates naturally into shell pipelines with Unix-standard stdin/stdout patterns, making it composable with grep, awk, and other command-line tools.

Pricing & Platform Specs

Pricing Summary

Free and 100% open source dual-licensed under MIT and the Unlicense by Sciences Po Medialab. xan is a native Rust command-line tool with $0 software licensing fees and no commercial tier or telemetry. It executes locally on developer workstations or CI/CD pipelines across Linux, macOS, and Windows with zero external runtime dependencies.

full pricing breakdown →

Supported Platforms

Rust binary; macOS, Linux, Windows; single binary, no dependencies

Explore categories, tags & use cases

Alternatives

All xan alternatives →

Run LLMs locally with one command

Tool for running large language models locally on your machine with a simple CLI interface. Download and run Llama 3, Mistral, Gemma, Phi, Code Llama, and dozens of other open-source models with a single command. Features model management, GPU acceleration (NVIDIA/AMD/Apple Silicon), OpenAI-compatible API server, Modelfile for customization, and multi-model switching. Ideal for offline AI development, privacy-sensitive use cases, and local testing. 120K+ GitHub stars.

Open Source
Claude Code logo

Claude Code

Top Pick

Anthropic's agentic coding CLI

Anthropic's agentic CLI coding tool that delegates complex tasks to Claude directly from the terminal. Understands entire codebases via automatic context gathering, edits multiple files, runs shell commands, and manages Git workflows autonomously. Supports CLAUDE.md for persistent project instructions, integrates with VS Code and JetBrains, and uses Claude Opus/Sonnet with extended thinking for complex architectural decisions. Built for terminal-first developers.

freemium

Open-source extensible AI agent by Block

Autonomous coding agent from Block (Square) that works with any LLM through MCP-first extensibility. Apache 2.0 licensed with 47K+ GitHub stars and a Linux Foundation AAIF founding project. Designed for terminal-based workflows with deep tool integration, making it a strong open-source option for developers who want agent-assisted coding without vendor lock-in.

Open Source

Community experience

Sources & verification

Sources checked
Content verified

Verification dates are editorial checks. Routine CMS saves and automatic updatedAt timestamps do not advance them.

FAQ

What is xan?

xan is a fast command-line tool for working with CSV files, built in Rust by the Sciences Po medialab team. It provides over 50 subcommands for filtering, sorting, joining, aggregating, and transforming CSV data directly in the terminal. With 3,900 GitHub stars and near-instant processing of multi-gigabyte files, xan replaces workflows that previously required loading data into Python or spreadsheets.

Is xan free?

Yes — xan is open source and free to use. Free and 100% open source dual-licensed under MIT and the Unlicense by Sciences Po Medialab. xan is a native Rust command-line tool with $0 software licensing fees and no commercial tier or telemetry. It executes locally on developer workstations or CI/CD pipelines across Linux, macOS, and Windows with zero external runtime dependencies.

Is xan open source?

Yes — xan is open source.

Is xan still maintained?

Yes — xan is active. Its listing was last verified on September 6, 2026.

What are the best xan alternatives?

The first editor-selected xan alternatives are Ollama, Claude Code, Goose.