# Installer cpuid avec Homebrew, apt, dnf, MacPorts, Nix, zypper

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de cpuid pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:cpuid
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install cpuid
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install cpuid
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install cpuid
```

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

- dnf (92%):

```sh
sudo dnf install cpuid
```

  Preuve: Fedora Rawhide package metadata: cpuid 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#cpuid
```

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

- zypper (92%):

```sh
sudo zypper install cpuid
```

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

## Faits du paquet

- **Clé du paquet:** brew:cpuid
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/cpuid>
- **Version:** 2.4.0
- **Résumé source:** CPU feature identification for Go
- **Page d'accueil:** <https://github.com/klauspost/cpuid>
- **Dépôt:** <https://github.com/klauspost/cpuid>
- **Docs amont:** <https://github.com/klauspost/cpuid#readme>
- **Licence:** MIT
- **Archive source:** <https://github.com/klauspost/cpuid/archive/refs/tags/v2.4.0.tar.gz>
- **Dernière mise à jour:** 2026-06-30T15:04:20Z
- **Généré:** 2026-07-09T07:20:21+00:00

## exécutables

- cpuid (cli)
- cpuid (alias)

## Dépendances de compilation

- go

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version et fraîcheur

- page générée: 2026-07-09
- version du gestionnaire: 2.4.0
- gestionnaire mis à jour: 2026-06-30
- données locales: OK
- dépôt amont: https://github.com/klauspost/cpuid
- dernière version détectée: v2.4.0 (à jour)
## Historique du projet et usages

cpuid is a Go package and command-line tool for detecting CPU information and CPU feature flags at runtime without cgo.

### Historique du projet

The official GitHub repository was created in 2015. The README describes startup CPU detection cached for fast access during a Go program's lifetime, with support for x86/x64, ARM/ARM64, and RISC-V.

### Historique d'adoption

cpuid fits Go module distribution as a library imported with github.com/klauspost/cpuid/v2, while also offering an installable cpuid binary via go install, GitHub release binaries, and Homebrew for macOS/Linux users.

### Modes d'utilisation

Go programs use the shared cpuid.CPU value to inspect brand, cores, cache, frequency, and feature sets, then call Supports, Has, or HasAll to gate optimized code paths. The command-line binary prints CPU details and supports JSON output.

### Pourquoi les passionnés de paquets s'y intéressent

For packagers and Go maintainers, cpuid is notable because it combines a Go module API with a packaged diagnostic binary, avoids external C code, and exposes runtime feature detection useful to compression, crypto, and other optimized Go libraries.

### Chronologie

- 2015: The klauspost/cpuid repository was created.
- 2024: v2.2.8 and v2.2.9 releases were published.
- 2025: v2.2.10, v2.2.11, and v2.3.0 releases were published.

### Related projects

- pkg.go.dev provides generated API documentation for the github.com/klauspost/cpuid/v2 Go module.

### Sources

- <https://github.com/klauspost/cpuid>
- <https://raw.githubusercontent.com/klauspost/cpuid/master/README.md>
- <https://pkg.go.dev/github.com/klauspost/cpuid/v2>
- <https://api.github.com/repos/klauspost/cpuid>
- <https://github.com/klauspost/cpuid/releases/tag/v2.3.0>


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals

## Détails de la base source

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** cpuid
- **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

## Autres enregistrements de gestionnaires de paquets

- Debian apt - cpuid - 20250316-1: normalized package name match | Debian stable package indexes: cpuid from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | tool to dump x86 CPUID information about the CPU(s) | https://www.etallen.com/cpuid.html
- Nix - cpuid: normalized package name match | nixpkgs package indexes: pkgs/by-name/cp/cpuid/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - cpuid - 20240330-1ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: cpuid from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | tool to dump x86 CPUID information about the CPU(s) | https://www.etallen.com/cpuid.html
- dnf - cpuid - 20250419-4.fc44: normalized package name match | Fedora Rawhide package metadata: cpuid from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Dumps information about the CPU(s) | http://www.etallen.com/cpuid.html
- zypper - cpuid - 20260220-1.2: normalized package name match | openSUSE Tumbleweed package metadata: cpuid from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | x86 CPU identification tool | http://etallen.com/cpuid.html
- MacPorts - cpuid: normalized package name match | MacPorts ports tree: sysutils/cpuid/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Liens liés

- [Source-control packages](https://www.automicvault.com/fr/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/fr/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://www.automicvault.com/fr/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://www.automicvault.com/fr/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://www.automicvault.com/fr/pkg/brew/go/) - Build dependency declared by Homebrew.
- [cpu_features](https://www.automicvault.com/fr/pkg/brew/cpu-features/) - Shares av.db curated category or tags: cli, cpu, cpu-features, hardware-detection, library.
- [augeas](https://www.automicvault.com/fr/pkg/brew/augeas/) - Shares av.db curated category or tags: cli, library, system.
- [cahute](https://www.automicvault.com/fr/pkg/brew/cahute/) - Shares av.db curated category or tags: cli, library, system.
- [chmlib](https://www.automicvault.com/fr/pkg/brew/chmlib/) - Shares av.db curated category or tags: cli, library, system.
- [confd](https://www.automicvault.com/fr/pkg/brew/confd/) - Shares av.db curated category or tags: cli, go, system.
- [cpufetch](https://www.automicvault.com/fr/pkg/brew/cpufetch/) - Shares av.db curated category or tags: cli, cpu, system.
- [cpulimit](https://www.automicvault.com/fr/pkg/brew/cpulimit/) - Shares av.db curated category or tags: cli, cpu, system.
- [dbus-glib](https://www.automicvault.com/fr/pkg/brew/dbus-glib/) - Shares av.db curated category or tags: cli, library, system.
- [libcpuid](https://www.automicvault.com/fr/pkg/brew/libcpuid/) - Local package facts share a topical domain. Shared terms: cli, cpu, cpuid, detection, feature.

## Combined YAML source

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