# Install stress-ng with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Stress test a computer system in various selectable ways. Version 0.21.03 via Homebrew; verified 2026-06-12.

## Install

```sh
sudo av install brew:stress-ng
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install stress-ng
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install stress-ng
```

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

### Linux

- apk (92%):

```sh
sudo apk add stress-ng
```

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

- Debian apt (92%):

```sh
sudo apt install stress-ng
```

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

- dnf (92%):

```sh
sudo dnf install stress-ng
```

  Evidence: Fedora Rawhide package metadata: stress-ng 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#stress-ng
```

  Evidence: nixpkgs package indexes: pkgs/by-name/st/stress-ng/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S stress-ng
```

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

- zypper (92%):

```sh
sudo zypper install stress-ng
```

  Evidence: openSUSE Tumbleweed package metadata: stress-ng from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:stress-ng
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/stress-ng>
- **Version:** 0.21.03
- **Source summary:** Stress test a computer system in various selectable ways
- **Homepage:** <https://wiki.ubuntu.com/Kernel/Reference/stress-ng>
- **Repository:** <https://github.com/ColinIanKing/stress-ng>
- **Upstream docs:** <https://github.com/ColinIanKing/stress-ng#readme>
- **License:** GPL-2.0-or-later
- **Source archive:** <https://github.com/ColinIanKing/stress-ng/archive/refs/tags/V0.21.03.tar.gz>
- **Last updated:** 2026-06-12T12:52:25Z
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- stress-ng (cli)
- stress-ng (alias)

## Uses from macOS

- libxcrypt

## 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: 0.21.03
- Package-manager updated: 2026-06-12
- Local data: ok
- Upstream repository: https://github.com/ColinIanKing/stress-ng
- info: No cached GitHub release or tag data was available.
## Project history and usage

stress-ng is a broad system stress and kernel-exercising CLI descended in spirit from the older `stress` utility but expanded into hundreds of targeted stressors for CPUs, memory, filesystems, kernel interfaces, and hardware behavior.

### Project history

The in-tree Debian changelog records stress-ng 0.01.00 on 2013-10-15 as the initial version by Colin King. The upstream README describes stress-ng as the upstream project repository and says it was designed to exercise physical subsystems and operating-system kernel interfaces.

The project name means stress next generation, and the README now describes a large test surface: hundreds of stress tests, CPU-specific tests, virtual-memory tests, filesystem tests, and memory/cache tests. That growth changed it from a simple load generator into a toolkit for provoking kernel, platform, and hardware edge cases.

### Adoption history

stress-ng is distributed across many Unix-like package managers in the supplied package facts, including apk, Homebrew, Debian, Fedora/dnf, MacPorts, Nix, pacman, Ubuntu, and zypper. Its README also points Ubuntu users to a project PPA for recent versions.

Its official Ubuntu wiki page is maintained as a kernel reference and quick-start guide, which reflects how the tool moved from a standalone utility into common kernel, distro, and hardware validation workflows.

### How it is used

Common package-manager usage is installing `stress-ng` and running one or more named stressors with a timeout, such as CPU matrix work, scheduler classes, memory pressure, filesystem operations, or perf/metrics reporting. The Ubuntu guide emphasizes caution because the tests can heat hardware and cause heavy thrashing.

The README warns that stress-ng can measure throughput rates but is not intended as a precise benchmark suite. In package culture, that distinction matters: it is for reproducing stress and finding failures, not for publishing synthetic leaderboard numbers.

### Why package nerds care

stress-ng is beloved by system-package people because it is small to install, scriptable, broad in coverage, and useful immediately after a kernel, libc, compiler, VM, or hardware change.

For maintainers, it is also a packaging canary: if a platform port, sandbox, container, scheduler, filesystem, or architecture behaves oddly under stress-ng, there is probably a real bug worth chasing.

### Timeline

- 2013-10-15: In-tree Debian changelog records stress-ng 0.01.00 as the initial version.
- 2015-06-05: GitHub repository metadata records public repository creation.
- 2019: Ubuntu wiki reference guide documents typical stress-ng use cases for kernel and system testing.
- 2026: README describes more than 380 stress tests and broad portability across Unix-like systems and related environments.

### Related projects

- `stress` is the older load-generation tool that stress-ng effectively supersedes for broader kernel and subsystem coverage.
- Ubuntu kernel testing, Linux perf, containers, and distro build farms are natural neighboring workflows.

### Sources

- <https://github.com/ColinIanKing/stress-ng>
- <https://raw.githubusercontent.com/ColinIanKing/stress-ng/master/debian/changelog>
- <https://wiki.ubuntu.com/Kernel/Reference/stress-ng>
- source_facts.package-manager


## 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:** stress-ng
- **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

## Other Package-Manager Records

- Debian apt - stress-ng - 0.19.02-1: normalized package name match | Debian stable package indexes: stress-ng from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | tool to load and stress a computer | https://github.com/ColinIanKing/stress-ng
- Nix - stress-ng: normalized package name match | nixpkgs package indexes: pkgs/by-name/st/stress-ng/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - stress-ng - 0.17.06-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: stress-ng from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | tool to load and stress a computer | https://github.com/ColinIanKing/stress-ng
- apk - stress-ng - 0.21.02-r0: normalized package name match | Alpine Linux edge package indexes: stress-ng from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | stress-ng will stress test a computer system in various selectable ways | https://github.com/ColinIanKing/stress-ng
- apk - stress-ng-bash-completion - 0.21.02-r0: normalized package name match | Alpine Linux edge package indexes: stress-ng-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for stress-ng | https://github.com/ColinIanKing/stress-ng
- apk - stress-ng-doc - 0.21.02-r0: normalized package name match | Alpine Linux edge package indexes: stress-ng-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | stress-ng will stress test a computer system in various selectable ways (documentation) | https://github.com/ColinIanKing/stress-ng
- dnf - stress-ng - 0.21.01-1.fc45: normalized package name match | Fedora Rawhide package metadata: stress-ng from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Stress test a computer system in various ways | https://github.com/ColinIanKing/stress-ng
- pacman - stress-ng - 0.21.02-1: normalized package name match | Arch Linux sync databases: stress-ng from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Software to stress test a computer system in various selectable ways | https://github.com/ColinIanKing/stress-ng
- zypper - stress-ng - 0.21.02-1.1: normalized package name match | openSUSE Tumbleweed package metadata: stress-ng from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Tool to load and stress a computer | https://github.com/ColinIanKing/stress-ng
- zypper - stress-ng-bash-completion - 0.21.02-1.1: normalized package name match | openSUSE Tumbleweed package metadata: stress-ng-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Bash Completion for stress-ng | https://github.com/ColinIanKing/stress-ng
- MacPorts - stress-ng: normalized package name match | MacPorts ports tree: benchmarks/stress-ng/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [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.
- [Documentation packages](https://www.automicvault.com/pkg/documentation-tools/) - Matched documentation, manual, or publishing metadata.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [stress](https://www.automicvault.com/pkg/brew/stress/) - Shares av.db curated category or tags: benchmarking, cli, cpu, memory, stress-test.
- [fio](https://www.automicvault.com/pkg/brew/fio/) - Shares av.db curated category or tags: benchmarking, cli, stress-test, system.
- [mbw](https://www.automicvault.com/pkg/brew/mbw/) - Shares av.db curated category or tags: benchmarking, cli, memory, system.
- [phoronix-test-suite](https://www.automicvault.com/pkg/brew/phoronix-test-suite/) - Shares av.db curated category or tags: benchmarking, cli, system.
- [libgtop](https://www.automicvault.com/pkg/brew/libgtop/) - Shares av.db curated category or tags: cli, cpu, memory, system.
- [rainbarf](https://www.automicvault.com/pkg/brew/rainbarf/) - Shares av.db curated category or tags: cli, cpu, memory, system.
- [sysbench](https://www.automicvault.com/pkg/brew/sysbench/) - Shares av.db curated category or tags: benchmarking, cli, system.
- [tmux-mem-cpu-load](https://www.automicvault.com/pkg/brew/tmux-mem-cpu-load/) - Shares av.db curated category or tags: cli, cpu, memory, system.

## Combined YAML source

View the package source record on GitHub. [combined/stress-ng.yml](https://github.com/automic-vault/db/blob/main/combined/stress-ng.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
