# Install hyperfine with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, scoop, winget, zypper

Command-line benchmarking tool. Version 1.20.0 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:hyperfine
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install hyperfine
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install hyperfine
```

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

### Linux

- apk (92%):

```sh
sudo apk add hyperfine
```

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

- Debian apt (92%):

```sh
sudo apt install hyperfine
```

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

- dnf (92%):

```sh
sudo dnf install hyperfine
```

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

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

- pacman (92%):

```sh
sudo pacman -S hyperfine
```

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

- zypper (92%):

```sh
sudo zypper install hyperfine
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/hyperfine
```

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

- winget (92%):

```sh
winget install --id sharkdp.hyperfine -e
```

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

## Package facts

- **Package key:** brew:hyperfine
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/hyperfine>
- **Version:** 1.20.0
- **Source summary:** Command-line benchmarking tool
- **Homepage:** <https://github.com/sharkdp/hyperfine>
- **Repository:** <https://github.com/sharkdp/hyperfine>
- **Upstream docs:** <https://github.com/sharkdp/hyperfine#readme>
- **License:** Apache-2.0 OR MIT
- **Source archive:** <https://github.com/sharkdp/hyperfine/archive/refs/tags/v1.20.0.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- hyperfine (cli)
- hyperfine (alias)

## Build dependencies

- rust

## 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: 1.20.0
- Local data: ok
- Upstream repository: https://github.com/sharkdp/hyperfine
- Upstream latest detected: v1.20.0 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

hyperfine is a Rust command-line benchmarking tool for comparing arbitrary shell commands with repeated runs, warmups, statistical analysis, outlier detection, and export formats.

### Project history

The project entered GitHub release metadata in January 2018 and reached 1.0.0 in March 2018. Its README establishes the core workflow: pass one or more commands, let hyperfine determine a run count, and compare runtimes with statistical summaries.

Over time, hyperfine grew from a convenient command timer into a reproducible benchmarking utility. Release notes added features such as parameter scans, shell control, setup and cleanup commands, JSON/CSV/Markdown/AsciiDoc export, reference-command comparisons, named outputs, and helper scripts for plotting benchmark data.

### Adoption history

hyperfine became a common package-manager tool for developers benchmarking CLI programs, build commands, searches, and small scripts. The input metadata lists broad packaging across Homebrew, Debian, Ubuntu, Fedora, Arch, Nix, MacPorts, Scoop, winget, Alpine, and openSUSE.

### How it is used

Typical usage is `hyperfine 'command'` or `hyperfine 'cmd1' 'cmd2'`. Users add warmup runs for cache effects, preparation commands for cold-cache tests, parameter scans for build matrices, `--shell=none` for very fast commands, and export flags when results need to be tracked or plotted.

### Why package nerds care

hyperfine is important because it made respectable microbenchmarking available as a single package-manager install. It encodes the small details package maintainers and CLI authors care about: shell startup correction, warmups, outlier warnings, machine-readable exports, cross-platform behavior, and enough statistics to avoid cargo-culting `time` output.

### Timeline

- 2018: v0.2.0 and v1.0.0 appeared in GitHub release metadata.
- 2021: v1.12.0 expanded JSON output and export behavior.
- 2022: v1.13.0 added `--shell=none` for very fast commands.
- 2024: v1.19.0 added reference-command comparison and expanded flow controls.
- 2025: v1.20.0 added reference naming, richer ignored-exit handling, and plotting helpers.

### Related projects

- hyperfine sits alongside shell `time`, GNU time, Criterion-style benchmarking, cargo bench, and sharkdp's Rust CLI ecosystem such as fd and bat.

### Sources

- <https://api.github.com/repos/sharkdp/hyperfine/releases?per_page=100>
- <https://formulae.brew.sh/formula/hyperfine>
- <https://github.com/sharkdp/hyperfine>
- <https://raw.githubusercontent.com/sharkdp/hyperfine/master/README.md>


## 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:** hyperfine
- **Version Scheme:** 0
- **Revision:** 0
- **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 - hyperfine - 1.19.0-1+b3: normalized package name match | Debian stable package indexes: hyperfine from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Command-line benchmarking tool | https://github.com/sharkdp/hyperfine
- Nix - hyperfine: normalized package name match | nixpkgs package indexes: pkgs/by-name/hy/hyperfine/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - hyperfine - 1.18.0-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: hyperfine from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Command-line benchmarking tool | https://github.com/sharkdp/hyperfine
- apk - hyperfine - 1.20.0-r0: normalized package name match | Alpine Linux edge package indexes: hyperfine from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Command-line benchmarking tool | https://github.com/sharkdp/hyperfine
- apk - hyperfine-bash-completion - 1.20.0-r0: normalized package name match | Alpine Linux edge package indexes: hyperfine-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for hyperfine | https://github.com/sharkdp/hyperfine
- apk - hyperfine-doc - 1.20.0-r0: normalized package name match | Alpine Linux edge package indexes: hyperfine-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Command-line benchmarking tool (documentation) | https://github.com/sharkdp/hyperfine
- apk - hyperfine-fish-completion - 1.20.0-r0: normalized package name match | Alpine Linux edge package indexes: hyperfine-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for hyperfine | https://github.com/sharkdp/hyperfine
- apk - hyperfine-zsh-completion - 1.20.0-r0: normalized package name match | Alpine Linux edge package indexes: hyperfine-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for hyperfine | https://github.com/sharkdp/hyperfine
- dnf - hyperfine - 1.20.0-2.fc44: normalized package name match | Fedora Rawhide package metadata: hyperfine from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Command-line benchmarking tool | https://crates.io/crates/hyperfine
- pacman - hyperfine - 1.20.0-1: normalized package name match | Arch Linux sync databases: hyperfine from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A command-line benchmarking tool | https://github.com/sharkdp/hyperfine
- zypper - hyperfine - 1.20.0-2.1: normalized package name match | openSUSE Tumbleweed package metadata: hyperfine from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Command-line benchmarking tool | https://github.com/sharkdp/hyperfine
- zypper - hyperfine-bash-completion - 1.20.0-2.1: normalized package name match | openSUSE Tumbleweed package metadata: hyperfine-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Bash Completion for hyperfine | https://github.com/sharkdp/hyperfine
- zypper - hyperfine-fish-completion - 1.20.0-2.1: normalized package name match | openSUSE Tumbleweed package metadata: hyperfine-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Fish Completion for hyperfine | https://github.com/sharkdp/hyperfine
- zypper - hyperfine-zsh-completion - 1.20.0-2.1: normalized package name match | openSUSE Tumbleweed package metadata: hyperfine-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | ZSH Completion for hyperfine | https://github.com/sharkdp/hyperfine
- MacPorts - hyperfine: normalized package name match | MacPorts ports tree: sysutils/hyperfine/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/hyperfine: normalized package name match | Scoop official bucket manifest trees: bucket/hyperfine.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## 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.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [bench](https://www.automicvault.com/pkg/brew/bench/) - Shares av.db curated category or tags: benchmarking, cli, developer-tools, performance.
- [multitime](https://www.automicvault.com/pkg/brew/multitime/) - Shares av.db curated category or tags: benchmarking, cli, developer-tools, performance.
- [pyperformance](https://www.automicvault.com/pkg/brew/pyperformance/) - Shares av.db curated category or tags: benchmarking, cli, developer-tools, performance.
- [sqlbench](https://www.automicvault.com/pkg/brew/sqlbench/) - Shares av.db curated category or tags: benchmarking, cli, developer-tools, performance.
- [minio-warp](https://www.automicvault.com/pkg/brew/minio-warp/) - Shares av.db curated category or tags: benchmarking, cli, developer-tools.
- [pipebench](https://www.automicvault.com/pkg/brew/pipebench/) - Shares av.db curated category or tags: benchmarking, cli, developer-tools.
- [siege](https://www.automicvault.com/pkg/brew/siege/) - Shares av.db curated category or tags: benchmarking, cli, developer-tools.
- [wrk](https://www.automicvault.com/pkg/brew/wrk/) - Shares av.db curated category or tags: benchmarking, cli, developer-tools.
- [hyperfine](https://www.automicvault.com/pkg/cargo/hyperfine/) - Same normalized package name exists in another local package ecosystem.

## Combined YAML source

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