macOS
brew install cpuidlocal Homebrew formula metadata
sudo port install cpuidMacPorts ports tree · sysutils/cpuid/Portfile · 来源: api.github.com
安装
brew install cpuidlocal Homebrew formula metadata
sudo port install cpuidMacPorts ports tree · sysutils/cpuid/Portfile · 来源: api.github.com
sudo dnf install cpuidFedora Rawhide package metadata · cpuid · 来源: dl.fedoraproject.org
nix profile install nixpkgs#cpuidnixpkgs package indexes · pkgs/by-name/cp/cpuid/package.nix · 来源: api.github.com
sudo zypper install cpuidopenSUSE Tumbleweed package metadata · cpuid · 来源: download.opensuse.org
概览
CPU feature identification for Go
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
cpuid | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:cpuid |
|---|---|
| 版本 | 2.4.0 |
| 软件包管理器 | Homebrew |
| 主页 | https://github.com/klauspost/cpuid |
| 仓库 | https://github.com/klauspost/cpuid |
| 最后更新 | 2026-07-25T14:20:51-04:00 |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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-5.fc45
Dumps information about the CPU(s)
http://www.etallen.com/cpuid.html
sudo dnf install cpuidcpuid 20260503-1.3
x86 CPU identification tool
sudo zypper install cpuidcpuid
sudo port install cpuid来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.