# 使用 Homebrew, apk, apt, dnf, Nix 安装 nuttcp

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

## 安装

```sh
sudo av install brew:nuttcp
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install nuttcp
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add nuttcp
```

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

- Debian apt (92%):

```sh
sudo apt install nuttcp
```

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

- dnf (92%):

```sh
sudo dnf install nuttcp
```

  证据: Fedora Rawhide package metadata: nuttcp 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#nuttcp
```

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

## 软件包事实

- **软件包键:** brew:nuttcp
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/nuttcp>
- **版本:** 8.2.2
- **来源摘要:** Network performance measurement tool
- **主页:** <https://www.nuttcp.net/nuttcp/>
- **上游文档:** <https://www.nuttcp.net/nuttcp/>
- **许可证:** GPL-2.0-only
- **源码归档:** <https://www.nuttcp.net/nuttcp/nuttcp-8.2.2.tar.bz2>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- nuttcp (cli)
- nuttcp (别名)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 8.2.2
- 本地数据: OK
- 上游仓库: https://www.nuttcp.net/nuttcp/
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

nuttcp is a command-line network throughput measurement tool for TCP and UDP. Its own manual places it in the lineage of ttcp and nttcp, while adding operational features such as server mode, rate limiting, multiple parallel streams, timed tests, IPv6, multicast, MSS, and TOS/DSCP support.

### 项目历史

The official manual traces the ancestry to Mike Muuss's pre-December-1984 ttcp work at BRL, then to an SGI-enhanced nttcp, and finally to nuttcp. That lineage explains the name and the tool's deliberately plain design: move buffers across a network path and report throughput plus timing, CPU, and UDP-loss data.

### 采用历史

nuttcp is niche but durable. Debian packages it as a network performance measurement tool across multiple architectures, Homebrew ships version 8.2.2, and ESnet Fasterdata documents it for high-speed UDP testing. Homebrew analytics on 2026-07-01 showed 158 installs over 365 days, which fits a specialist operations tool rather than a general developer CLI.

### 使用方式

Network engineers use nuttcp in transmitter/receiver mode or the recommended client/server mode to test raw TCP or UDP throughput for a chosen duration or byte count. ESnet's examples show practical high-speed UDP testing with explicit packet size, test duration, UDP mode, window size, rate/report flags, and one-second interval output.

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

For package maintainers, nuttcp is a classic small C networking utility: simple enough to package broadly, useful enough to keep around, and close to the metal when iperf-style testing needs a second opinion or UDP-specific behavior.

### 时间线

- Before 1984-12: ttcp is written by Mike Muuss at BRL, according to the nuttcp manual.
- Later: SGI's nttcp improves ttcp; nuttcp then extends nttcp with server mode, rate limiting, parallel streams, and timer-based usage.
- 2026-07-01: Homebrew lists nuttcp 8.2.2.

### Related projects

- ttcp
- nttcp
- iperf
- netperf

### 来源

- <https://fasterdata.es.net/performance-testing/network-troubleshooting-tools/nuttcp/>
- <https://formulae.brew.sh/formula/nuttcp>
- <https://packages.debian.org/bookworm/nuttcp>
- <https://www.nuttcp.net/nuttcp/nuttcp.html>


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** nuttcp
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- Debian apt - nuttcp - 8.2.2.rpm-1: normalized package name match | Debian stable package indexes: nuttcp from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | network performance measurement tool | https://www.nuttcp.org/
- Nix - nuttcp: normalized package name match | nixpkgs package indexes: pkgs/by-name/nu/nuttcp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - nuttcp - 6.1.2-4build1: normalized package name match | Ubuntu 24.04 LTS package indexes: nuttcp from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | network performance measurement tool
- apk - nuttcp - 8.2.2-r1: normalized package name match | Alpine Linux edge package indexes: nuttcp from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A network performance measurement tool | http://www.nuttcp.net
- apk - nuttcp-doc - 8.2.2-r1: normalized package name match | Alpine Linux edge package indexes: nuttcp-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A network performance measurement tool (documentation) | http://www.nuttcp.net
- dnf - nuttcp - 8.2.2-17.fc45: normalized package name match | Fedora Rawhide package metadata: nuttcp from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Tool for testing TCP connections | http://nuttcp.net/


## 相关链接

- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [thrulay](https://pkg.so/zh-hans/brew/thrulay/) - Shares pkgdb curated category or tags: cli, network-benchmark, networking, tcp, throughput.
- [iperf](https://pkg.so/zh-hans/brew/iperf/) - Shares pkgdb curated category or tags: cli, networking, tcp, throughput, udp.
- [iperf3](https://pkg.so/zh-hans/brew/iperf3/) - Shares pkgdb curated category or tags: cli, networking, tcp, udp.
- [netcat](https://pkg.so/zh-hans/brew/netcat/) - Shares pkgdb curated category or tags: cli, networking, tcp, udp.
- [zoro](https://pkg.so/zh-hans/brew/zoro/) - Shares pkgdb curated category or tags: cli, networking, tcp, udp.
- [udptunnel](https://pkg.so/zh-hans/brew/udptunnel/) - Shares pkgdb curated category or tags: cli, networking, tcp, udp.
- [flowgrind](https://pkg.so/zh-hans/brew/flowgrind/) - Shares pkgdb curated category or tags: cli, networking, performance-testing, tcp.
- [stone](https://pkg.so/zh-hans/brew/stone/) - Shares pkgdb curated category or tags: cli, networking, tcp, udp.

## Combined YAML source

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