# 使用 Homebrew, MacPorts, Nix, pacman, scoop, winget 安装 csvlens

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

## 安装

```sh
sudo av install brew:csvlens
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install csvlens
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install csvlens
```

  证据: MacPorts ports tree: textproc/csvlens/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#csvlens
```

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

- pacman (92%):

```sh
sudo pacman -S csvlens
```

  证据: Arch Linux sync databases: csvlens from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

### Windows

- Scoop (92%):

```sh
scoop install main/csvlens
```

  证据: Scoop official bucket manifest trees: bucket/csvlens.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id YS-L.csvlens -e
```

  证据: Windows Package Manager source index: YS-L.csvlens from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:csvlens
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/csvlens>
- **版本:** 0.15.1
- **来源摘要:** Command-line csv viewer
- **主页:** <https://github.com/YS-L/csvlens>
- **仓库:** <https://github.com/YS-L/csvlens>
- **许可证:** MIT
- **源码归档:** <https://github.com/YS-L/csvlens/archive/refs/tags/v0.15.1.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- csvlens (cli)
- csvlens (别名)

## 构建依赖

- rust

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.15.1
- 本地数据: OK
- 上游仓库: https://github.com/YS-L/csvlens
- 检测到的最新版本: v0.15.1 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

csvlens is a Rust-based command-line CSV viewer positioned as a CSV-aware analogue of less: it opens files or stdin in an interactive terminal table view with search, filtering, sorting, column selection, wrapping, and clipboard-oriented actions.

### 项目历史

The public release stream visible on GitHub begins with the 0.3.x series in 2023, and the changelog shows the project continuing as an interactive terminal viewer rather than a batch-processing CSV suite. Later releases added package-friendly polish such as a library target, aarch64 release targets, auto-delimiter defaults, row marking, and automatic reload.

### 采用历史

The upstream README documents installation through direct release downloads, Homebrew, Arch Linux, Windows winget, several BSD package systems, and Cargo. That distribution footprint is notable for a comparatively young terminal data viewer because it covers Unix, macOS, Windows, BSD ports, and Rust's native package channel.

### 使用方式

csvlens is commonly used where a user wants to inspect CSV or TSV-like output without importing it into a spreadsheet: open a file, pipe command output into the viewer, search or filter rows, narrow columns, sort interactively, and optionally print a selected value or marked rows back to stdout.

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

For package maintainers, csvlens is representative of the modern single-binary Rust CLI pattern: small user-facing surface, terminal-first UX, release archives for multiple platforms, Cargo installability, and packaging in Homebrew and OS repositories.

### 时间线

- 2023: Earliest GitHub release visible in the public release list is v0.3.2.
- 2024: v0.13.0 added aarch64 release targets.
- 2026: v0.15.x added auto-reload and stdin streaming refinements.

### Related projects

- The README frames csvlens as closer to less than to full CSV transformation suites; in practice it complements tools such as csvq, csvtk, xsv, and csvkit by focusing on interactive viewing.

### 来源

- <https://github.com/YS-L/csvlens#readme>
- <https://github.com/YS-L/csvlens/blob/main/CHANGELOG.md>
- <https://github.com/YS-L/csvlens/releases>


## 安全说明

narrow executable package without higher-risk signals.

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

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** csvlens
- **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 - csvlens: normalized package name match | nixpkgs package indexes: pkgs/by-name/cs/csvlens/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - csvlens - 0.15.1-2: normalized package name match | Arch Linux sync databases: csvlens from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Command line csv viewer | https://github.com/YS-L/csvlens
- MacPorts - csvlens: normalized package name match | MacPorts ports tree: textproc/csvlens/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/csvlens: normalized package name match | Scoop official bucket manifest trees: bucket/csvlens.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - YS-L.csvlens: normalized package name match | Windows Package Manager source index: YS-L.csvlens 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.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing 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.
- [csvq](https://pkg.so/zh-hans/brew/csvq/) - Shares pkgdb curated category or tags: cli, csv, data.
- [qsv](https://pkg.so/zh-hans/brew/qsv/) - Shares pkgdb curated category or tags: cli, csv, data.
- [csvkit](https://pkg.so/zh-hans/brew/csvkit/) - Shares pkgdb curated category or tags: cli, csv, data.
- [csvtk](https://pkg.so/zh-hans/brew/csvtk/) - Shares pkgdb curated category or tags: cli, csv, data.
- [apache-arrow](https://pkg.so/zh-hans/brew/apache-arrow/) - Shares pkgdb curated category or tags: cli, data.
- [miller](https://pkg.so/zh-hans/brew/miller/) - Shares pkgdb curated category or tags: cli, csv, data.
- [jless](https://pkg.so/zh-hans/brew/jless/) - Shares pkgdb curated category or tags: cli, data, viewer.
- [xan](https://pkg.so/zh-hans/brew/xan/) - Shares pkgdb curated category or tags: cli, csv, data.
- [jsome](https://pkg.so/zh-hans/npm/jsome/) - Local package facts share a topical domain. Shared terms: cli, command-line, data, line, viewer.
- [parqeye](https://pkg.so/zh-hans/brew/parqeye/) - Local package facts share a topical domain. Shared terms: cli, data, terminal, viewer.
- [tidy-viewer](https://pkg.so/zh-hans/brew/tidy-viewer/) - Both packages work with overlapping file formats or content types. Shared terms: cli, csv, data, viewer.

## Combined YAML source

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


## 来源

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