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

Extremely fast non-cryptographic hash algorithm. Version 0.8.3 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:xxhash
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install xxhash
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install xxhash
```

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

### Linux

- apk (92%):

```sh
sudo apk add libxxhash
```

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

- Debian apt (92%):

```sh
sudo apt install libxxhash-dev
```

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

- dnf (92%):

```sh
sudo dnf install xxhash
```

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

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

- pacman (92%):

```sh
sudo pacman -S xxhash
```

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

- zypper (92%):

```sh
sudo zypper install libxxhash0
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/xxhash
```

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

## Package facts

- **Package key:** brew:xxhash
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/xxhash>
- **Version:** 0.8.3
- **Source summary:** Extremely fast non-cryptographic hash algorithm
- **Homepage:** <https://xxhash.com>
- **Repository:** <https://github.com/Cyan4973/xxHash>
- **Upstream docs:** <https://github.com/Cyan4973/xxHash#readme>
- **License:** BSD-2-Clause AND GPL-2.0-or-later
- **Source archive:** <https://github.com/Cyan4973/xxHash/archive/refs/tags/v0.8.3.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- xxh128sum (cli)
- xxh32sum (cli)
- xxh3sum (cli)
- xxh64sum (cli)
- xxhsum (cli)
- xxh128sum (alias)
- xxh32sum (alias)
- xxh3sum (alias)
- xxh64sum (alias)
- xxhsum (alias)

## Build dependencies

- cmake

## Install behavior

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

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.8.3
- Local data: ok
- Upstream repository: https://github.com/Cyan4973/xxHash
- Upstream latest detected: v0.8.3 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

xxHash is Yann Collet's family of extremely fast, non-cryptographic hash algorithms and a reference C implementation with the xxhsum command-line tool. In package-manager terms it is both a developer library and a checksum utility for cases where speed, stable output, and good distribution properties matter more than cryptographic security.

### Project history

The project was created by Yann Collet, also known for LZ4, around the need for hashes that could keep up with memory bandwidth. Its own documentation describes xxHash as processing at RAM-speed limits, portable across endianness, and producing identical results on all platforms.

The original family centered on XXH32 and XXH64, giving 32-bit and 64-bit outputs using ordinary integer arithmetic. Later releases added XXH3, a vectorized design with 64-bit and 128-bit variants that was introduced experimentally and stabilized in v0.8.0.

The command-line side grew alongside the library. xxhsum provides checksum generation and verification in the style of cksum or sha utilities, while symlinked helper names such as xxh32sum, xxh64sum, xxh3sum, and xxh128sum expose the algorithm choices as separate package binaries.

### Adoption history

xxHash spread because it filled a very common systems niche: fast checksums for hash tables, content indexing, compression frames, databases, caches, backup tools, file-transfer workflows, and test suites where cryptographic hashes are unnecessary overhead.

The project's README emphasizes SMHasher and extended collision/speed testing, helping adoption by giving packagers and downstream developers a compact, portable C implementation with visible quality checks. The xxhash.com reference-usage page and language bindings further show adoption across multiple runtimes.

A notable ecosystem link is LZ4: xxHash is used as a checksum in the LZ4 frame format, reinforcing its identity as infrastructure for compression and high-throughput data plumbing.

### How it is used

Developers link libxxhash or include the single-file implementation to compute stable non-cryptographic hashes in performance-sensitive code. Typical use cases include deduplication hints, cache keys, integrity checks inside trusted pipelines, sharding, chunk fingerprints, and quick comparison of large byte streams.

CLI users run xxhsum or one of the algorithm-specific sum commands to generate and check hashes for files. The important operational caveat is that xxHash is not a cryptographic hash and should not be used for password storage, signatures, HMAC-style security decisions, or adversarial tamper resistance.

### Why package nerds care

xxHash is the kind of small C library that quietly becomes plumbing. Package nerds care because it ships a stable ABI-facing library, pkg-config metadata, a family of checksum commands, and many downstream language bindings while still staying close to a reference implementation.

It also illustrates a packaging distinction users often miss: checksum tools are not automatically security tools. Installing xxhash gives a fast file-fingerprinting utility, not a replacement for SHA-256 or BLAKE2 in hostile environments.

### Timeline

- 2010s: Yann Collet develops xxHash as a very fast non-cryptographic hash family, initially centered on XXH32 and XXH64.
- 2010s: xxHash becomes associated with high-speed compression and data-processing tooling, including LZ4 frame checksums.
- 2020-07-27: xxHash v0.8.0 stabilizes XXH3, including stable 64-bit and 128-bit output values for storage and interchange.
- 2020s: The project documents XXH32, XXH64, XXH3_64bits, and XXH3_128bits as the main algorithm flavors and continues shipping xxhsum plus algorithm-specific helper commands.

### Related projects

- LZ4 is a closely related Yann Collet compression project and a prominent user of xxHash checksums.
- SMHasher is the hash-function quality test suite cited by xxHash for collision, dispersion, and randomness testing.
- CityHash, MurmurHash, SpookyHash, SipHash, FNV, BLAKE2, SHA-1, and MD5 appear in xxHash benchmark comparisons as neighboring hash families with different performance/security tradeoffs.

### Sources

- <https://github.com/Cyan4973/xxHash>
- <https://github.com/Cyan4973/xxHash/releases/tag/v0.8.0>
- <https://github.com/lz4/lz4/blob/dev/doc/lz4_Frame_format.md>
- <https://pypi.org/project/xxhash/>
- <https://xxhash.com/>


## 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:** xxhash
- **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 - libxxhash-dev - 0.8.3-2: normalized package name match | Debian stable package indexes: libxxhash-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | header files and a static library for libxxhash | https://cyan4973.github.io/xxHash
- Debian apt - libxxhash0 - 0.8.3-2: normalized package name match | Debian stable package indexes: libxxhash0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | shared library for xxhash | https://cyan4973.github.io/xxHash
- Debian apt - xxhash - 0.8.3-2: normalized package name match | Debian stable package indexes: xxhash from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Extremely fast hash algorithm | https://cyan4973.github.io/xxHash
- Nix - xxhash: normalized package name match | nixpkgs package indexes: pkgs/by-name/xx/xxhash/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libxxhash-dev - 0.8.2-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libxxhash-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | header files and a static library for libxxhash | https://cyan4973.github.io/xxHash
- Ubuntu apt - libxxhash0 - 0.8.2-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libxxhash0 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | shared library for xxhash | https://cyan4973.github.io/xxHash
- Ubuntu apt - xxhash - 0.8.2-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: xxhash from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Extremely fast hash algorithm | https://cyan4973.github.io/xxHash
- apk - libxxhash - 0.8.3-r1: normalized package name match | Alpine Linux edge package indexes: libxxhash from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Extremely fast non-cryptographic hash algorithm (libraries) | https://cyan4973.github.io/xxHash/
- apk - xxhash - 0.8.3-r1: normalized package name match | Alpine Linux edge package indexes: xxhash from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Extremely fast non-cryptographic hash algorithm | https://cyan4973.github.io/xxHash/
- apk - xxhash-dev - 0.8.3-r1: normalized package name match | Alpine Linux edge package indexes: xxhash-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Extremely fast non-cryptographic hash algorithm (development files) | https://cyan4973.github.io/xxHash/
- apk - xxhash-doc - 0.8.3-r1: normalized package name match | Alpine Linux edge package indexes: xxhash-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Extremely fast non-cryptographic hash algorithm (documentation) | https://cyan4973.github.io/xxHash/
- apk - xxhash-static - 0.8.3-r1: normalized package name match | Alpine Linux edge package indexes: xxhash-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Extremely fast non-cryptographic hash algorithm (static library) | https://cyan4973.github.io/xxHash/
- dnf - xxhash - 0.8.3-4.fc44: normalized package name match | Fedora Rawhide package metadata: xxhash from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Extremely fast hash algorithm | https://www.xxhash.com/
- dnf - xxhash-devel - 0.8.3-4.fc44: normalized package name match | Fedora Rawhide package metadata: xxhash-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Extremely fast hash algorithm - development files | https://www.xxhash.com/
- dnf - xxhash-doc - 0.8.3-4.fc44: normalized package name match | Fedora Rawhide package metadata: xxhash-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Extremely fast hash algorithm - documentation files | https://www.xxhash.com/
- dnf - xxhash-libs - 0.8.3-4.fc44: normalized package name match | Fedora Rawhide package metadata: xxhash-libs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Extremely fast hash algorithm - library | https://www.xxhash.com/


## Related links

- [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.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [cmake](https://www.automicvault.com/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [apt](https://www.automicvault.com/pkg/brew/apt/) - Popular package that depends on this formula.
- [bareos-client](https://www.automicvault.com/pkg/brew/bareos-client/) - Popular package that depends on this formula.
- [borgbackup](https://www.automicvault.com/pkg/brew/borgbackup/) - Popular package that depends on this formula.
- [ccache](https://www.automicvault.com/pkg/brew/ccache/) - Popular package that depends on this formula.
- [dwarfs](https://www.automicvault.com/pkg/brew/dwarfs/) - Popular package that depends on this formula.
- [fbthrift](https://www.automicvault.com/pkg/brew/fbthrift/) - Popular package that depends on this formula.
- [hashcat](https://www.automicvault.com/pkg/brew/hashcat/) - Popular package that depends on this formula.
- [libabigail](https://www.automicvault.com/pkg/brew/libabigail/) - Popular package that depends on this formula.
- [libcmph](https://www.automicvault.com/pkg/brew/libcmph/) - Shares av.db curated category or tags: cli, developer-tools, hashing.
- [crcany](https://www.automicvault.com/pkg/brew/crcany/) - Shares av.db curated category or tags: checksum, cli, developer-tools.
- [dbhash](https://www.automicvault.com/pkg/brew/dbhash/) - Shares av.db curated category or tags: cli, developer-tools, hashing.
- [terrahash](https://www.automicvault.com/pkg/brew/terrahash/) - Shares av.db curated category or tags: cli, developer-tools, hashing.
- [esbuild](https://www.automicvault.com/pkg/brew/esbuild/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, extremely, fast.

## Combined YAML source

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