# 使用 Homebrew, chocolatey, Nix, scoop, winget 安装 xpipe

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

## 安装

```sh
sudo av install brew:xpipe
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install xpipe
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#xpipe
```

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

### Windows

- Chocolatey (92%):

```sh
choco install xpipe
```

  证据: Chocolatey community package catalog: xpipe from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='9.736','dotnet-5.0-sdk-3xx'

- Scoop (92%):

```sh
scoop install extras/xpipe
```

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

- winget (92%):

```sh
winget install --id xpipe-io.xpipe -e
```

  证据: Windows Package Manager source index: xpipe-io.xpipe from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:xpipe
- **软件包管理器:** Homebrew
- **版本:** 2.2
- **来源摘要:** Split input and feed it into the given utility
- **主页:** <https://www.netmeister.org/apps/xpipe.html>
- **最后更新:** 2026-06-25T13:38:12+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- xpipe (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2.2
## 项目历史与用法

xpipe is Jan Schaumann's small Unix command that splits standard input into chunks and feeds each chunk to a utility. Its README describes it as a conceptual combination of split, tee, and xargs, but with chunks piped to the invoked program rather than passed as command-line arguments.

### 项目历史

The GitHub repository was created on 2020-01-12. The README says xpipe was developed on NetBSD 8.0 and tested on NetBSD 8.0, macOS 12.6, and Fedora 36, matching Schaumann's broader Unix/pkgsrc background.

The project is intentionally narrow: one C utility, a manpage-style README, and examples centered on stream chunking. Its design goal is practical shell composition rather than a new pipeline framework.

### 采用历史

xpipe's adoption is modest but real in the Unix-tools niche. It appeals to users who understand xargs but need to send each chunk on standard input, such as feeding PEM certificates one at a time to openssl, creating archive batches, or compressing split log chunks.

The README calls out packaging paths for source installs, Arch AUR, pkgsrc, and macOS users, which suggests the tool spread mainly through small-package ecosystems and personal Unix workflows rather than through a large application stack.

### 使用方式

xpipe reads stdin, splits by byte count, line count, or a regular-expression pattern, then invokes the chosen utility repeatedly with the chunk connected to that utility's stdin. The -J option can substitute an invocation number into command arguments, making per-chunk output files straightforward.

The most distinctive usage is pattern-delimited input where temporary files would otherwise be annoying. The README's certificate example splits a PEM bundle at END CERTIFICATE lines and feeds each certificate to openssl x509 for inspection.

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

xpipe is the kind of tiny Unix command package nerds like: it fills one gap in the standard toolbox without inventing a new ecosystem. It is easiest to understand as xargs for stdin chunks rather than argv construction.

Its significance is also pedagogical. By naming the space between split, tee, and xargs, xpipe makes a common shell-script pattern explicit and reusable, reducing the need for ad hoc sed/awk loops and temporary-file cleanup.

### 时间线

- 2020-01-12: The jschauma/xpipe repository is created.
- 2020s: xpipe is documented as developed on NetBSD 8.0 and tested on NetBSD, macOS, and Fedora.
- 2026: The GitHub repository remains active with a compact C implementation and manpage-oriented README.

### Related projects

- xargs is the closest standard utility, but it constructs command arguments rather than piping each input chunk to stdin.
- split is related because it partitions input, though xpipe avoids forcing intermediate files.
- tee is related in the README's conceptual model because xpipe routes input into repeated downstream processes.

### 来源

- <https://api.github.com/repos/jschauma/xpipe>
- <https://github.com/jschauma/xpipe>
- <https://raw.githubusercontent.com/jschauma/xpipe/master/README.md>
- <https://www.netmeister.org/apps/xpipe.html>


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Nix - xpipe: normalized package name match | nixpkgs package indexes: pkgs/by-name/xp/xpipe/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Chocolatey - xpipe: normalized package name match | Chocolatey community package catalog: xpipe from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='9.736','dotnet-5.0-sdk-3xx'
- Scoop - extras/xpipe: normalized package name match | Scoop official bucket manifest trees: bucket/xpipe.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1
- winget - xpipe-io.xpipe: normalized package name match | Windows Package Manager source index: xpipe-io.xpipe from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

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


## 来源

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