# 使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, winget 安装 moreutils

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

## 安装

```sh
sudo av install brew:moreutils
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install moreutils
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install moreutils
```

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

### Linux

- apk (92%):

```sh
sudo apk add moreutils
```

  证据: Alpine Linux edge package indexes: moreutils from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install moreutils
```

  证据: Debian stable package indexes: moreutils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install moreutils
```

  证据: Fedora Rawhide package metadata: moreutils from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#moreutils
```

  证据: nixpkgs package indexes: moreutils from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S moreutils
```

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

- zypper (92%):

```sh
sudo zypper install moreutils
```

  证据: openSUSE Tumbleweed package metadata: moreutils from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- winget (92%):

```sh
winget install --id xdpxi.sponge -e
```

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

## 软件包事实

- **软件包键:** brew:moreutils
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/moreutils>
- **版本:** 0.70
- **来源摘要:** Collection of tools that nobody wrote when UNIX was young
- **主页:** <https://joeyh.name/code/moreutils/>
- **上游文档:** <https://joeyh.name/code/moreutils/>
- **许可证:** GPL-2.0-or-later AND (GPL-2.0-only OR Artistic-2.0)
- **源码归档:** <https://git.joeyh.name/index.cgi/moreutils.git/snapshot/moreutils-0.70.tar.gz>
- **最后更新:** 2026-06-22T14:05:32-07:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- chronic (cli)
- combine (cli)
- errno (cli)
- ifdata (cli)
- ifne (cli)
- isutf8 (cli)
- lckdo (cli)
- mispipe (cli)
- pee (cli)
- sponge (cli)
- ts (cli)
- vidir (cli)
- vipe (cli)
- zrun (cli)
- chronic (别名)
- combine (别名)
- errno (别名)
- ifdata (别名)
- ifne (别名)
- isutf8 (别名)
- lckdo (别名)
- mispipe (别名)
- pee (别名)
- sponge (别名)
- ts (别名)
- vidir (别名)
- vipe (别名)
- zrun (别名)

## 构建依赖

- docbook-xsl

## macOS 提供的库

- perl

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.70
- 管理器更新时间: 2026-06-22
- 本地数据: OK
- 上游仓库: https://joeyh.name/code/moreutils/
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

moreutils is Joey Hess's collection of small Unix tools that fill gaps left by the traditional toolbox. The project page says it began after Hess blogged about whether there was room for new general-purpose Unix tools, concluding that basic utilities could still "fall through the cracks". That origin explains the package's curatorial style: it collects commands that are small, composable, and broadly useful without trying to become a new shell or a large framework.

### 项目历史

The package's best-known utility is sponge, which reads all standard input before writing to its output file so pipelines can safely transform a file in place. The collection also includes chronic, combine, errno, ifdata, ifne, isutf8, lckdo, mispipe, parallel, pee, ts, vidir, vipe, and zrun. Debian's package page describes moreutils as "additional Unix utilities" and lists the same commands, while the upstream page notes Debian, Ubuntu, and other distribution availability plus the git repository at joeyh.name.

### 使用方式

In practice, moreutils is package-manager glue for shell users. It is the kind of dependency installed because one tiny command solves an awkward pipeline problem: ts timestamps streams, vidir edits directory entries in an editor, vipe drops an editor into a pipeline, pee tees input to multiple commands, and mispipe preserves the exit status shell pipelines often obscure. Its niche overlaps with coreutils, util-linux, GNU parallel, and ad hoc shell functions, but its value is the curated set of boring commands that compose with the rest of Unix.

### 来源

- <https://github.com/pgdr/moreutils>
- <https://joeyh.name/code/moreutils/>
- <https://lwn.net/Articles/672352/>
- <https://packages.debian.org/sid/moreutils>


## 安全说明

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:** moreutils
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Conflicts With:** parallel, pwntools, sponge, task-spooler
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

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

- Debian apt - moreutils - 0.69-1: normalized package name match | Debian stable package indexes: moreutils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | additional Unix utilities | https://joeyh.name/code/moreutils/
- Nix - moreutils: normalized package name match | nixpkgs package indexes: moreutils from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - moreutils - 0.69-1: normalized package name match | Ubuntu 24.04 LTS package indexes: moreutils from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | additional Unix utilities | https://joeyh.name/code/moreutils/
- apk - moreutils - 0.70-r1: normalized package name match | Alpine Linux edge package indexes: moreutils from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A growing collection of the unix tools that nobody thought to write thirty years ago | https://joeyh.name/code/moreutils/
- apk - moreutils-doc - 0.70-r1: normalized package name match | Alpine Linux edge package indexes: moreutils-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A growing collection of the unix tools that nobody thought to write thirty years ago (documentation) | https://joeyh.name/code/moreutils/
- dnf - moreutils - 0.70-2.fc45: normalized package name match | Fedora Rawhide package metadata: moreutils from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Additional unix utilities | https://joeyh.name/code/moreutils/
- dnf - moreutils-parallel - 0.70-2.fc45: normalized package name match | Fedora Rawhide package metadata: moreutils-parallel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Additional unix utility - parallel command | https://joeyh.name/code/moreutils/
- pacman - moreutils - 0.70-1: normalized package name match | Arch Linux sync databases: moreutils from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A growing collection of the unix tools that nobody thought to write thirty years ago | https://joeyh.name/code/moreutils/
- zypper - chronic - 0.70-1.7: normalized package name match | openSUSE Tumbleweed package metadata: chronic from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Runs a command quietly unless it fails | https://joeyh.name/code/moreutils/
- zypper - moreutils - 0.70-1.7: normalized package name match | openSUSE Tumbleweed package metadata: moreutils from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Additional Unix Utilities | https://joeyh.name/code/moreutils/
- zypper - moreutils-parallel - 0.70-1.7: normalized package name match | openSUSE Tumbleweed package metadata: moreutils-parallel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Run multiple jobs at once | https://joeyh.name/code/moreutils/
- zypper - moreutils-perl - 0.70-1.7: normalized package name match | openSUSE Tumbleweed package metadata: moreutils-perl from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Additional Unix Utilities — Perl scripts | https://joeyh.name/code/moreutils/
- zypper - ts - 0.70-1.7: normalized package name match | openSUSE Tumbleweed package metadata: ts from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Timestamp standard input | https://joeyh.name/code/moreutils/
- MacPorts - moreutils: normalized package name match | MacPorts ports tree: sysutils/moreutils/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- MacPorts - ts: installed executable or alias match | MacPorts ports tree: sysutils/ts/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Nix - ts: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/ts/ts/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 相关链接

- [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.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [docbook-xsl](https://pkg.so/zh-hans/brew/docbook-xsl/) - Build dependency declared by Homebrew.
- [fish](https://pkg.so/zh-hans/brew/fish/) - Shares pkgdb curated category or tags: cli, developer-tools, shell, unix.
- [zsh](https://pkg.so/zh-hans/brew/zsh/) - Shares pkgdb curated category or tags: cli, developer-tools, shell, unix.
- [navi](https://pkg.so/zh-hans/brew/navi/) - Shares pkgdb curated category or tags: cli, command-line, developer-tools.
- [shc](https://pkg.so/zh-hans/brew/shc/) - Shares pkgdb curated category or tags: cli, developer-tools, shell, unix.
- [privatebin-cli](https://pkg.so/zh-hans/brew/privatebin-cli/) - Shares pkgdb curated category or tags: cli, command-line, developer-tools.
- [morse](https://pkg.so/zh-hans/brew/morse/) - Shares pkgdb curated category or tags: cli, command-line, developer-tools.
- [rustypaste-cli](https://pkg.so/zh-hans/brew/rustypaste-cli/) - Shares pkgdb curated category or tags: cli, command-line, developer-tools.
- [starship](https://pkg.so/zh-hans/brew/starship/) - Shares pkgdb curated category or tags: cli, developer-tools, shell.
- [errno](https://pkg.so/zh-hans/npm/errno/) - Executable or command metadata overlaps with this package. Shared terms: cli, developer, developer-tools, errno.
- [num-utils](https://pkg.so/zh-hans/brew/num-utils/) - Local package facts share a topical domain. Shared terms: cli, command-line, developer, developer-tools, line.

## Combined YAML source

View the package source record on GitHub. [combined/moreutils.yml](https://github.com/mxcl/pkgdb/blob/main/combined/moreutils.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
