# 使用 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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
- **版本:** 0.70
- **来源摘要:** Collection of tools that nobody wrote when UNIX was young
- **主页:** <https://joeyh.name/code/moreutils/>
- **最后更新:** 2026-06-22T14:05:32-07:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

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

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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

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

- 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
