Automic VaultAutomic Vault

brew

使用 Homebrew, MacPorts, Nix, pacman, scoop, winget 安装 xan

查看 xan 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install xan

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install xan

MacPorts ports tree · textproc/xan/Portfile · 来源: api.github.com

Linux

Nix已验证 · 92%
nix profile install nixpkgs#xan

nixpkgs package indexes · pkgs/by-name/xa/xan/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S xan

Arch Linux sync databases · xan · 来源: geo.mirror.pkgbuild.com

Windows

Scoop已验证 · 92%
scoop install extras/xan

Scoop official bucket manifest trees · bucket/xan.json · 来源: api.github.com

Windows Package Manager已验证 · 92%
winget install --id medialab.xan -e

Windows Package Manager source index · medialab.xan · 来源: cdn.winget.microsoft.com

概览

软件包摘要

CSV CLI magician written in Rust

命令和别名

  • xan

历史

项目历史与用法

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.

时间线

  • 2018: medialab/xan repository is created.
  • 2024-02-07: xan 0.1.0 is published on crates.io.
  • 2025: Release cadence accelerates with frequent 0.x releases and expanded command coverage.
  • 2026-06-17: crates.io lists xan 0.59.0 as the latest version at the time researched.

Related projects

  • xsv is the Rust CSV toolkit from which xan originally forked.
  • csvkit, Miller, DuckDB, pandas, and command-line SQL tools overlap with parts of xan's CSV manipulation niche.
  • simd-csv is part of the parser story highlighted by xan's README and project blog.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
xancli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本0.60.0
管理器更新时间2026-07-10
本地数据OK
上游当前
检测到的最新版本0.60.0

https://github.com/medialab/xan

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键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
Pulseupdated
构建依赖rust
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namexan
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

xan

nix profile install nixpkgs#xan
  • normalized package name match
  • 匹配方式:Xan
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/xa/xan/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
pacman95%

xan 0.58.0-1

The CSV magician

https://github.com/medialab/xan

sudo pacman -S xan
  • License: Unlicense AND MIT
  • Architecture: x86_64
  • 1 依赖
  • normalized package name match
  • 匹配方式:Xan
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: xan from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

xan

sudo port install xan
  • normalized package name match
  • 匹配方式:Xan
MacPorts ports tree · api.github.com · MacPorts ports tree: textproc/xan/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

extras/xan

scoop install extras/xan
  • normalized package name match
  • 匹配方式:Xan
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/xan.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1
winget95%

medialab.xan

winget install --id medialab.xan -e
  • normalized package name match
  • 匹配方式:Xan
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: medialab.xan from https://cdn.winget.microsoft.com/cache/source.msix

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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