# 使用 Homebrew, Nix, winget 安装 xleak

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

## 安装

```sh
sudo av install brew:xleak
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install xleak
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#xleak
```

  证据: nixpkgs package indexes: pkgs/by-name/xl/xleak/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- winget (92%):

```sh
winget install --id bgreenwell.xleak -e
```

  证据: Windows Package Manager source index: bgreenwell.xleak from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:xleak
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/xleak>
- **版本:** 0.2.6
- **来源摘要:** Terminal Excel viewer with an interactive TUI
- **主页:** <https://github.com/bgreenwell/xleak>
- **仓库:** <https://github.com/bgreenwell/xleak>
- **许可证:** MIT
- **源码归档:** <https://github.com/bgreenwell/xleak/releases/download/v0.2.6/source.tar.gz>
- **最后更新:** 2026-07-24T11:19:41Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- xleak (cli)
- xleak (别名)

## 构建依赖

- rust

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.2.6
- 管理器更新时间: 2026-07-24
- 本地数据: OK
- 上游仓库: https://github.com/bgreenwell/xleak
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

xleak is a cross-platform Rust command-line and terminal-interface viewer for Excel, OpenDocument, CSV, and TSV data. It combines formatted previews, interactive navigation, search, formula inspection, and export without requiring a graphical spreadsheet application.

### 项目历史

The official changelog dates xleak's initial release to 8 January 2025. Version 0.1.0 already supported an interactive ratatui interface, several Excel and OpenDocument formats, cross-sheet search, formula display, exports, sheet selection, and lazy loading.

The 0.1.1 release added persistent TOML configuration, built-in themes, Vim-style and custom keybindings, named Excel-table extraction, and a custom config-file flag. The 0.2 series then adopted cargo-dist for multi-platform releases and continued expanding packaging and terminal behavior.

### 采用历史

The upstream installation guide documents several distribution channels: Homebrew, Scoop, Debian, the Arch User Repository, NetBSD pkgsrc, Cargo, Nix, release binaries, and installer scripts. The 0.2.6 changelog records NetBSD installation plus automated AUR, WinGet, and Scoop publishing, showing deliberate growth from a Rust crate into a broadly packaged terminal utility.

### 使用方式

Users can preview a workbook directly in the terminal or start the interactive interface with `-i`. Keyboard workflows cover cell navigation, full-text search, sheet switching, formula details, row or cell copying, and jumps to specific addresses.

Non-interactive workflows select sheets, limit rows, extract named Excel tables, and export CSV, JSON, or plain text. A TOML file can persist themes, display limits, column width, and keybinding choices; `--config` selects an alternate file.

### 为什么软件包爱好者会关心

xleak represents the modern Rust TUI pattern: a focused data utility built on calamine for parsing and ratatui for interaction, distributed as both a Cargo package and native binaries.

Its packaging breadth is useful on servers and keyboard-driven systems where spreadsheet files are common but installing or launching a full desktop office suite is undesirable.

### 时间线

- 2025-01-08: Version 0.1.0 introduced the interactive spreadsheet viewer.
- 2025-12-03: Version 0.1.1 added TOML configuration; version 0.2.0 adopted cargo-dist releases.
- 2026-05-24: Version 0.2.6 added NetBSD installation and automated AUR, WinGet, and Scoop publishing.

### Related projects

- The upstream README names doxx as xleak's inspiration. It also identifies calamine as the spreadsheet parser and ratatui as the terminal-interface framework.

### 来源

- <https://github.com/bgreenwell/xleak#readme>
- <https://github.com/bgreenwell/xleak/blob/devel/CHANGELOG.md>
- <https://github.com/bgreenwell/xleak/releases>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Linux: $XDG_CONFIG_HOME/xleak/config.toml, ~/.config/xleak/config.toml
- macOS: $XDG_CONFIG_HOME/xleak/config.toml, ~/.config/xleak/config.toml, ~/Library/Application Support/xleak/config.toml
- Windows: %APPDATA%\xleak\config.toml
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** xleak
- **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:** head, stable

## 其他软件包管理器记录

- Nix - xleak: normalized package name match | nixpkgs package indexes: pkgs/by-name/xl/xleak/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- winget - bgreenwell.xleak: normalized package name match | Windows Package Manager source index: bgreenwell.xleak from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Build dependency declared by Homebrew.
- [yazi](https://pkg.so/zh-hans/brew/yazi/) - Shares pkgdb curated category or tags: cli, productivity, rust, tui.
- [taskwarrior-tui](https://pkg.so/zh-hans/brew/taskwarrior-tui/) - Shares pkgdb curated category or tags: cli, productivity, rust, tui.
- [sc-im](https://pkg.so/zh-hans/brew/sc-im/) - Shares pkgdb curated category or tags: cli, productivity, spreadsheets.
- [concord](https://pkg.so/zh-hans/brew/concord/) - Shares pkgdb curated category or tags: cli, productivity, rust, tui.
- [ekphos](https://pkg.so/zh-hans/brew/ekphos/) - Shares pkgdb curated category or tags: cli, productivity, rust, tui.
- [clock-rs](https://pkg.so/zh-hans/brew/clock-rs/) - Shares pkgdb curated category or tags: cli, productivity, rust, tui.
- [elio](https://pkg.so/zh-hans/brew/elio/) - Shares pkgdb curated category or tags: cli, productivity, rust, tui.
- [ox](https://pkg.so/zh-hans/brew/ox/) - Shares pkgdb curated category or tags: cli, productivity, rust, tui.
- [md-tui](https://pkg.so/zh-hans/brew/md-tui/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, productivity, rust, terminal, tui.

## Combined YAML source

View the package source record on GitHub. [combined/xleak.yml](https://github.com/mxcl/pkgdb/blob/main/combined/xleak.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
