macOS
brew install cpuidlocal Homebrew formula metadata
sudo port install cpuidMacPorts ports tree · sysutils/cpuid/Portfile · source: api.github.com
brew
CPU feature identification for Go. Version 2.4.0 via Homebrew; verified 2026-06-30.
install
brew install cpuidlocal Homebrew formula metadata
sudo port install cpuidMacPorts ports tree · sysutils/cpuid/Portfile · source: api.github.com
sudo apt install cpuidDebian stable package indexes · cpuid · source: deb.debian.org
sudo dnf install cpuidFedora Rawhide package metadata · cpuid · source: dl.fedoraproject.org
nix profile install nixpkgs#cpuidnixpkgs package indexes · pkgs/by-name/cp/cpuid/package.nix · source: api.github.com
sudo zypper install cpuidopenSUSE Tumbleweed package metadata · cpuid · source: download.opensuse.org
overview
CPU feature identification for Go
history
cpuid is a Go package and command-line tool for detecting CPU information and CPU feature flags at runtime without cgo.
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.
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.
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.
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
cpuid | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/klauspost/cpuid
install metadata
| Package key | brew:cpuid |
|---|---|
| Version | 2.4.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/cpuid |
| Homepage | https://github.com/klauspost/cpuid |
| Repository | https://github.com/klauspost/cpuid |
| Upstream docs | https://github.com/klauspost/cpuid#readme |
| License | MIT |
| Source archive | https://github.com/klauspost/cpuid/archive/refs/tags/v2.4.0.tar.gz |
| Last updated | 2026-06-30T15:04:20Z |
| Pulse | updated |
| Build dependencies | go |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
cpuid 20250316-1
tool to dump x86 CPUID information about the CPU(s)
https://www.etallen.com/cpuid.html
sudo apt install cpuidcpuid
nix profile install nixpkgs#cpuidcpuid 20240330-1ubuntu2
tool to dump x86 CPUID information about the CPU(s)
https://www.etallen.com/cpuid.html
sudo apt install cpuidcpuid 20250419-4.fc44
Dumps information about the CPU(s)
http://www.etallen.com/cpuid.html
sudo dnf install cpuidcpuid 20260220-1.2
x86 CPU identification tool
sudo zypper install cpuidcpuid
sudo port install cpuidsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.