# 使用 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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
- **版本:** 8.2.2
- **来源摘要:** Network performance measurement tool
- **主页:** <https://www.nuttcp.net/nuttcp/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- nuttcp (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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

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

- 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Tool for testing TCP connections | http://nuttcp.net/


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