# Install iperf3 with Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, scoop, winget

Update of iperf: measures TCP, UDP, and SCTP bandwidth. Version 3.21 via Homebrew; verified 2026-06-22.

## Install

```sh
sudo av install brew:iperf3
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install iperf3
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install iperf3
```

  Evidence: MacPorts ports tree: net/iperf3/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add iperf3
```

  Evidence: Alpine Linux edge package indexes: iperf3 from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install iperf3
```

  Evidence: Debian stable package indexes: iperf3 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install iperf3
```

  Evidence: Fedora Rawhide package metadata: iperf3 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#iperf3
```

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

- pacman (92%):

```sh
sudo pacman -S iperf3
```

  Evidence: Arch Linux sync databases: iperf3 from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

### Windows

- Chocolatey (92%):

```sh
choco install iperf3
```

  Evidence: Chocolatey community package catalog: iperf3 from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','invantive-control-for-excel'

- Scoop (92%):

```sh
scoop install main/iperf3
```

  Evidence: Scoop official bucket manifest trees: bucket/iperf3.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id ar51an.iPerf3 -e
```

  Evidence: Windows Package Manager source index: ar51an.iPerf3 from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:iperf3
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/iperf3>
- **Version:** 3.21
- **Source summary:** Update of iperf: measures TCP, UDP, and SCTP bandwidth
- **Homepage:** <https://github.com/esnet/iperf>
- **Repository:** <https://github.com/esnet/iperf>
- **Upstream docs:** <https://github.com/esnet/iperf#readme>
- **License:** BSD-3-Clause
- **Source archive:** <https://downloads.es.net/pub/iperf/iperf-3.21.tar.gz>
- **Last updated:** 2026-06-22T14:03:47-07:00
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- iperf3 (cli)
- iperf3 (alias)

## Dependencies

- openssl@4

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 3.21
- Package-manager updated: 2026-06-22
- Local data: ok
- Upstream repository: https://github.com/esnet/iperf
- info: No cached GitHub release or tag data was available.
## Project history and usage

iperf3 is ESnet and Lawrence Berkeley National Laboratory's redesigned iperf implementation for active measurement of achievable bandwidth on IP networks, adding a smaller code base, library use, SCTP support, zero-copy mode, and JSON output.

### Project history

iperf3 was built as a clean rewrite of the original NLANR/DAST iperf. Its README says it shares the measurement domain with iperf2 but is not backward compatible, which made the separate `iperf3` executable and package name necessary.

The project is developed by ESnet/Lawrence Berkeley National Laboratory and distributed under a three-clause BSD license. ESnet's download archive shows public 3.0.x tarballs in 2014, while the GitHub repository was created in February 2014.

### Adoption history

The README identifies perfSONAR as one of iperf3's primary uses and notes use by ESnet, other research and education networks, the broader networking community, and commercial products.

Package adoption is broad because the tool gives automation-friendly output and a stable `iperf3` command without colliding with legacy iperf2 installations. Homebrew, Linux distributions, Windows package managers, and other ecosystems ship it under the iperf3 name.

### How it is used

The basic workflow remains the classic iperf model: run a server endpoint, run a client against it, select protocol and timing parameters, and read bandwidth, loss, and related measurements.

The package is especially useful in scripted diagnostics because iperf3 offers JSON output, explicit client/server compatibility with other iperf3 builds, and documented behavior around supported platforms and known issues.

### Why package nerds care

iperf3 matters because it is not just a version bump of `iperf`: it is a parallel implementation with its own ABI, CLI behavior, output formats, and release train. Package managers preserve that distinction by shipping `iperf` and `iperf3` separately.

For network engineers, the package is part of the small toolkit used to turn vague throughput complaints into repeatable measurements. For maintainers, it is a canonical example of a command-line tool whose packaging name encodes compatibility.

### Timeline

- 2014: GitHub repository created for ESnet's iperf3 implementation.
- 2014: ESnet download archive lists iperf-3.0.x tarballs.
- 2023: iperf3 3.16 work added a threaded implementation for parallel streams.
- 2026: iperf3 3.21 release appears in the ESnet download archive and GitHub releases.

### Related projects

- Iperf 2 remains a separate active project with different features and incompatible wire behavior.
- perfSONAR uses iperf3 as a network measurement component.
- nuttcp and netperf are related network testing tools referenced by the iperf3 README.

### Sources

- <https://downloads.es.net/pub/iperf/>
- <https://github.com/esnet/iperf>
- <https://software.es.net/iperf/>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

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

## Other Package-Manager Records

- Debian apt - iperf3 - 3.18-2+deb13u2: normalized package name match | Debian stable package indexes: iperf3 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Internet Protocol bandwidth measuring tool | http://software.es.net/iperf/
- Debian apt - libiperf-dev - 3.18-2+deb13u2: normalized package name match | Debian stable package indexes: libiperf-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Internet Protocol bandwidth measuring tool (development files) | http://software.es.net/iperf/
- Debian apt - libiperf0 - 3.18-2+deb13u2: normalized package name match | Debian stable package indexes: libiperf0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Internet Protocol bandwidth measuring tool (runtime files) | http://software.es.net/iperf/
- Nix - iperf3: normalized package name match | nixpkgs package indexes: iperf3 from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - iperf3 - 3.16-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: iperf3 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Internet Protocol bandwidth measuring tool | http://software.es.net/iperf/
- Ubuntu apt - libiperf-dev - 3.16-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libiperf-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Internet Protocol bandwidth measuring tool (development files) | http://software.es.net/iperf/
- Ubuntu apt - libiperf0 - 3.16-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libiperf0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Internet Protocol bandwidth measuring tool (runtime files) | http://software.es.net/iperf/
- apk - iperf3 - 3.21-r0: normalized package name match | Alpine Linux edge package indexes: iperf3 from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Tool to measure IP bandwidth using UDP or TCP | https://github.com/esnet/iperf
- apk - iperf3-dev - 3.21-r0: normalized package name match | Alpine Linux edge package indexes: iperf3-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Tool to measure IP bandwidth using UDP or TCP (development files) | https://github.com/esnet/iperf
- apk - iperf3-doc - 3.21-r0: normalized package name match | Alpine Linux edge package indexes: iperf3-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Tool to measure IP bandwidth using UDP or TCP (documentation) | https://github.com/esnet/iperf
- apk - iperf3-openrc - 3.21-r0: normalized package name match | Alpine Linux edge package indexes: iperf3-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Tool to measure IP bandwidth using UDP or TCP (OpenRC init scripts) | https://github.com/esnet/iperf
- dnf - iperf3 - 3.21-1.fc45: normalized package name match | Fedora Rawhide package metadata: iperf3 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Measurement tool for TCP/UDP bandwidth performance | https://github.com/esnet/iperf
- dnf - iperf3-devel - 3.21-1.fc45: normalized package name match | Fedora Rawhide package metadata: iperf3-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Development files for iperf3 | https://github.com/esnet/iperf
- pacman - iperf3 - 3.21-1: normalized package name match | Arch Linux sync databases: iperf3 from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | TCP, UDP, and SCTP network bandwidth measurement tool | https://github.com/esnet/iperf
- MacPorts - iperf3: normalized package name match | MacPorts ports tree: net/iperf3/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - iperf3: normalized package name match | Chocolatey community package catalog: iperf3 from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','invantive-control-for-excel'


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [openssl@4](https://www.automicvault.com/pkg/brew/openssl-4/) - Runtime dependency declared by Homebrew.
- [iperf](https://www.automicvault.com/pkg/brew/iperf/) - Package name indicates the same formula family.
- [nuttcp](https://www.automicvault.com/pkg/brew/nuttcp/) - Shares av.db curated category or tags: cli, networking, performance-testing, tcp, udp.
- [flowgrind](https://www.automicvault.com/pkg/brew/flowgrind/) - Shares av.db curated category or tags: cli, networking, performance-testing, tcp.
- [ip_relay](https://www.automicvault.com/pkg/brew/ip-relay/) - Shares av.db curated category or tags: bandwidth, cli, networking, tcp.
- [netcat](https://www.automicvault.com/pkg/brew/netcat/) - Shares av.db curated category or tags: cli, networking, tcp, udp.
- [stone](https://www.automicvault.com/pkg/brew/stone/) - Shares av.db curated category or tags: cli, networking, tcp, udp.
- [thrulay](https://www.automicvault.com/pkg/brew/thrulay/) - Shares av.db curated category or tags: cli, networking, tcp, udp.
- [udptunnel](https://www.automicvault.com/pkg/brew/udptunnel/) - Shares av.db curated category or tags: cli, networking, tcp, udp.
- [proxytunnel](https://www.automicvault.com/pkg/brew/proxytunnel/) - Local package facts share a topical domain. Shared terms: cli, networking, openssl, openssl-4, tcp.
- [tcpflow](https://www.automicvault.com/pkg/brew/tcpflow/) - Local package facts share a topical domain. Shared terms: cli, networking, openssl, openssl-4, tcp.

## Combined YAML source

View the package source record on GitHub. [combined/iperf3.yml](https://github.com/automic-vault/db/blob/main/combined/iperf3.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
