# 使用 Homebrew, MacPorts 安装 asitop

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

## 安装

```sh
sudo av install brew:asitop
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install asitop
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install asitop
```

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

## 软件包事实

- **软件包键:** brew:asitop
- **软件包管理器:** Homebrew
- **版本:** 0.0.24
- **来源摘要:** Perf monitoring CLI tool for Apple Silicon
- **主页:** <https://tlkh.github.io/asitop/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- asitop (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.0.24
## 项目历史与用法

asitop is a Python command-line monitor for Apple Silicon Macs. Its upstream README describes it as an nvtop-inspired terminal tool for M1-era macOS systems, built around Apple's powermetrics plus psutil, sysctl, and system_profiler.

### 项目历史

The GitHub repository was created in October 2021, shortly after Apple Silicon machines had become common enough for developers to want terminal-native CPU, GPU, memory, and power visibility. The README says the author wrote it because they could not find an equivalent tool online and were curious about the hardware counters.

The project is deliberately macOS-specific. Its implementation relies on powermetrics, which requires elevated privileges, and the README documents limitations caused by Apple removing some memory bandwidth and package power data from powermetrics.

### 采用历史

asitop spread as a small Apple Silicon utility rather than as a cross-platform monitoring suite. GitHub repository metadata shows several thousand stars, and Homebrew analytics report thousands of installs over the previous year, indicating continuing package-manager use among Mac developers and performance tinkerers.

### 使用方式

The normal workflow is to install the package and run `sudo asitop` in a terminal. It presents CPU cluster, GPU, ANE, memory, swap, frequency, utilization, and power estimates in a terminal UI, with options for sampling interval, color, and rolling average.

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

For package-manager users, asitop is notable because it packages a niche macOS performance workflow into one CLI command. It sits in the same mental shelf as htop, nvtop, and powermetrics wrappers, but is tuned for Apple Silicon hardware counters rather than generic Unix process accounting.

### 时间线

- 2021: GitHub repository created for an Apple Silicon performance monitor.
- 2024: Repository metadata still shows recent maintenance activity.
- 2026: Homebrew API lists stable version 0.0.24 and recent install activity.

### Related projects

- The README explicitly compares the project to nvtop and documents its reliance on Apple's powermetrics utility.

### 来源

- <https://api.github.com/repos/tlkh/asitop>
- <https://formulae.brew.sh/api/formula/asitop.json>
- <https://github.com/tlkh/asitop#readme>


## 安全说明

narrow executable package without higher-risk signals.

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

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

- MacPorts - asitop: normalized package name match | MacPorts ports tree: sysutils/asitop/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/asitop.yml](https://github.com/mxcl/pkgdb/blob/main/combined/asitop.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
