# 使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, scoop, winget, zypper 安装 cpufetch

查看 cpufetch 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:cpufetch
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install cpufetch
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install cpufetch
```

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

### Linux

- apk (92%):

```sh
sudo apk add cpufetch
```

  证据: Alpine Linux edge package indexes: cpufetch from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install cpufetch
```

  证据: Debian stable package indexes: cpufetch from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install cpufetch
```

  证据: Fedora Rawhide package metadata: cpufetch 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#cpufetch
```

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

- pacman (92%):

```sh
sudo pacman -S cpufetch
```

  证据: Arch Linux sync databases: cpufetch from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install cpufetch
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/cpufetch
```

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

- winget (92%):

```sh
winget install --id Dr-Noob.cpufetch -e
```

  证据: Windows Package Manager source index: Dr-Noob.cpufetch from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:cpufetch
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/cpufetch>
- **版本:** 1.07
- **来源摘要:** CPU architecture fetching tool
- **主页:** <https://github.com/Dr-Noob/cpufetch>
- **仓库:** <https://github.com/Dr-Noob/cpufetch>
- **上游文档:** <https://github.com/Dr-Noob/cpufetch#readme>
- **许可证:** GPL-2.0-only
- **源码归档:** <https://github.com/Dr-Noob/cpufetch/archive/refs/tags/v1.07.tar.gz>
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- cpufetch (cli)
- cpufetch (别名)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 1.07
- 本地数据: OK
- 上游仓库: https://github.com/Dr-Noob/cpufetch
- 检测到的最新版本: v1.07 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

cpufetch is a command-line CPU information display tool written in C, styled after the fetch-tool family but focused on CPU architecture details.

### 项目历史

The official GitHub repository was created in 2018. Its README describes cpufetch as a simple CPU architecture fetching tool that displays CPU information in a clean terminal presentation.

### 采用历史

The README directs users first to OS packages and shows a Repology packaging badge, with source builds and release binaries as fallbacks. That packaging-first installation path fits the tool's role as a small terminal utility distributed across Unix-like and Windows package ecosystems.

### 使用方式

Users run cpufetch to print CPU details and an architecture/manufacturer-themed logo. The README documents supported operating-system and architecture combinations, color customization, source builds, Android/Termux use, and debug reporting for unknown microarchitectures.

### 为什么软件包爱好者会关心

cpufetch is package-nerd friendly because it is a small C utility with broad OS/architecture packaging, visible hardware-support churn, and a release cadence driven by newly detected microarchitectures.

### 时间线

- 2018: The Dr-Noob/cpufetch repository was created.
- 2023: v1.03 and v1.04 releases were published.
- 2024: v1.05 and v1.06 releases were published.
- 2025: v1.07 was published.

### Related projects

- The README points to gpufetch as the related GPU-oriented companion project.

### 来源

- <https://github.com/Dr-Noob/cpufetch>
- <https://raw.githubusercontent.com/Dr-Noob/cpufetch/master/README.md>
- <https://api.github.com/repos/Dr-Noob/cpufetch>
- <https://github.com/Dr-Noob/cpufetch/releases/tag/v1.07>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

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

## 其他软件包管理器记录

- Debian apt - cpufetch - 1.06-2: normalized package name match | Debian stable package indexes: cpufetch from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Simple yet fancy CPU architecture fetching tool | https://github.com/Dr-Noob/cpufetch
- Nix - cpufetch: normalized package name match | nixpkgs package indexes: pkgs/by-name/cp/cpufetch/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - cpufetch - 1.05-1: normalized package name match | Ubuntu 24.04 LTS package indexes: cpufetch from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Simple yet fancy CPU architecture fetching tool | https://github.com/Dr-Noob/cpufetch
- apk - cpufetch - 1.07-r0: normalized package name match | Alpine Linux edge package indexes: cpufetch from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | simple yet fancy CPU architecture fetching tool | https://github.com/Dr-Noob/cpufetch
- apk - cpufetch-doc - 1.07-r0: normalized package name match | Alpine Linux edge package indexes: cpufetch-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | simple yet fancy CPU architecture fetching tool (documentation) | https://github.com/Dr-Noob/cpufetch
- dnf - cpufetch - 1.07-3.fc44: normalized package name match | Fedora Rawhide package metadata: cpufetch from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Simple tool for determining CPU architecture | https://github.com/Dr-Noob/cpufetch
- pacman - cpufetch - 1.07-1: normalized package name match | Arch Linux sync databases: cpufetch from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Simple yet fancy CPU architecture fetching tool | https://github.com/Dr-Noob/cpufetch
- zypper - cpufetch - 1.07-1.2: normalized package name match | openSUSE Tumbleweed package metadata: cpufetch from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | CLI CPU information tool written in C | https://github.com/Dr-Noob/cpufetch
- MacPorts - cpufetch: normalized package name match | MacPorts ports tree: sysutils/cpufetch/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/cpufetch: normalized package name match | Scoop official bucket manifest trees: bucket/cpufetch.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - Dr-Noob.cpufetch: normalized package name match | Windows Package Manager source index: Dr-Noob.cpufetch from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/zh-hans/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [clinfo](https://www.automicvault.com/zh-hans/pkg/brew/clinfo/) - Shares av.db curated category or tags: cli, hardware-info, system.
- [archey4](https://www.automicvault.com/zh-hans/pkg/brew/archey4/) - Shares av.db curated category or tags: cli, system, system-info.
- [cpu_features](https://www.automicvault.com/zh-hans/pkg/brew/cpu-features/) - Shares av.db curated category or tags: cli, cpu, system.
- [cpuid](https://www.automicvault.com/zh-hans/pkg/brew/cpuid/) - Shares av.db curated category or tags: cli, cpu, system.
- [cpulimit](https://www.automicvault.com/zh-hans/pkg/brew/cpulimit/) - Shares av.db curated category or tags: cli, cpu, system.
- [erdtree](https://www.automicvault.com/zh-hans/pkg/brew/erdtree/) - Shares av.db curated category or tags: cli, cross-platform, system.
- [g-ls](https://www.automicvault.com/zh-hans/pkg/brew/g-ls/) - Shares av.db curated category or tags: cli, cross-platform, system.
- [glances](https://www.automicvault.com/zh-hans/pkg/brew/glances/) - Shares av.db curated category or tags: cli, cross-platform, system.

## Combined YAML source

View the package source record on GitHub. [combined/cpufetch.yml](https://github.com/automic-vault/db/blob/main/combined/cpufetch.yml)


## 来源

- 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
