macOS
brew install xanlocal Homebrew formula metadata
sudo port install xanMacPorts ports tree · textproc/xan/Portfile · 来源: api.github.com
安装
brew install xanlocal Homebrew formula metadata
sudo port install xanMacPorts ports tree · textproc/xan/Portfile · 来源: api.github.com
nix profile install nixpkgs#xannixpkgs package indexes · pkgs/by-name/xa/xan/package.nix · 来源: api.github.com
sudo pacman -S xanArch Linux sync databases · xan · 来源: geo.mirror.pkgbuild.com
scoop install extras/xanScoop official bucket manifest trees · bucket/xan.json · 来源: api.github.com
winget install --id medialab.xan -eWindows Package Manager source index · medialab.xan · 来源: cdn.winget.microsoft.com
概览
CSV CLI magician written in Rust
历史
xan is a Rust command-line toolkit for processing CSV and CSV-adjacent tabular data directly from the shell. Its README calls it the CSV magician and emphasizes speed, low memory use, large-file handling, SIMD CSV parsing, and multithreaded operations.
Compared with older single-purpose CSV tools, xan aims to be a richer terminal data workbench: previewing, filtering, slicing, aggregating, sorting, joining, plotting, scraping, converting formats, and using a CSV-oriented expression language.
The project repository was created in 2018, but the public crate history for xan begins with version 0.1.0 on February 7, 2024. The README says xan began as a fork of BurntSushi's xsv and has since been nearly entirely rewritten for Sciences Po medialab use cases rooted in web data collection and social-science analysis.
The tool's development identity is tied to practical research data work: CSV remains a common interchange format among spreadsheets, statistics tools, scripting languages, web archives, and data pipelines, and xan extends beyond plain CSV into formats such as CDX, VCF, GTF, SAM, BED, JSON, Excel, and NumPy arrays.
xan is newer than classic CSV tools, but it has become visible in terminal-data circles because it combines xsv-like speed with a broader command set and interactive exploration features. By July 2026 the GitHub repository had roughly four thousand stars, and crates.io listed tens of thousands of downloads.
Its adoption niche is strongest among users who want shell-native data munging without starting Python, R, pandas, a notebook, or a database engine. That includes journalists, researchers, civic-tech users, data engineers doing quick inspections, and developers manipulating large delimited files in pipelines.
Typical xan sessions chain commands to inspect headers, preview rows, filter with expressions, compute frequencies, aggregate columns, join files, sort large CSVs, and render quick terminal visualizations. The README highlights its own expression language for cases too complex for the simplest commands but faster and more focused than embedding a general dynamic language.
The package is useful as a one-binary data knife: users can keep transformations in shell history, run them repeatedly in scripts, and work with gigabyte-scale CSVs using streaming, SIMD parsing, and parallelism where commands allow it.
xan sits in the lineage of modern Rust CLI rewrites of Unix data tools: fast, single-purpose at the binary level, but broad enough to replace many tiny CSV scripts. Its xsv ancestry matters, but the medialab rewrite and CSV-adjacent commands give it a distinct research-data personality.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
xan | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/medialab/xan
安装元数据
| 软件包键 | brew:xan |
|---|---|
| 版本 | 0.60.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/xan |
| 主页 | https://github.com/medialab/xan |
| 仓库 | https://github.com/medialab/xan |
| 上游文档 | https://github.com/medialab/xan#readme |
| 许可证 | MIT OR Unlicense |
| 源码归档 | https://github.com/medialab/xan/archive/refs/tags/0.60.0.tar.gz |
| 最后更新 | 2026-07-10T14:02:28Z |
| Pulse | updated |
| 构建依赖 | rust |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | xan |
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
xan
nix profile install nixpkgs#xanxan 0.58.0-1
The CSV magician
https://github.com/medialab/xan
sudo pacman -S xanxan
sudo port install xanextras/xan
scoop install extras/xanmedialab.xan
winget install --id medialab.xan -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.