# 使用 Homebrew, apk, MacPorts, Nix, scoop 安装 gotop

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

## 安装

```sh
sudo av install brew:gotop
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install gotop
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install gotop
```

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

### Linux

- apk (92%):

```sh
sudo apk add gotop
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#gotop
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/gotop
```

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

## 软件包事实

- **软件包键:** brew:gotop
- **软件包管理器:** Homebrew
- **版本:** 4.2.0
- **来源摘要:** Terminal based graphical activity monitor inspired by gtop and vtop
- **主页:** <https://github.com/xxxserxxx/gotop>
- **仓库:** <https://github.com/xxxserxxx/gotop>
- **最后更新:** 2026-07-27T14:57:51+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- gotop (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

gotop is a terminal-based graphical activity monitor written in Go. It belongs to the family of richer top-like TUIs that trade plain process tables for charts, widgets, colors, and keyboard-driven inspection.

### 项目历史

The original cjbassi/gotop repository was created in February 2018 and described itself as inspired by gtop and vtop. The xxxserxxx/gotop repository was created in February 2020 after the original author moved to ytop, a Rust rewrite, and deprecated the Go version.

The maintained fork's README documents that the fork exists to keep the Go project alive while keeping a small focused core and providing extension paths for less universal features. Examples called out by the maintainer include NVIDIA sensor support and aggregating data from remote gotop instances.

### 采用历史

gotop spread through multiple package channels because it is a visible terminal utility rather than a library. The README documents Arch, Gentoo, Nix, Homebrew, Scoop, prebuilt binaries, RPM and DEB packages, and source installation.

### 使用方式

Users launch gotop in a terminal to monitor CPU, memory, disks, network, processes, batteries, and sensors through a graphical text interface. The README points to layouts, color schemes, device filtering, configuration, and remote-monitoring documentation for users who want to tune the dashboard.

The fork added or folded in features such as layouts, configuration, remote metrics, translations, NVIDIA support, SMART/NVME temperature work, and packaged release artifacts. Its configuration search paths and layout/color-scheme system make it more customizable than a minimal top clone.

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

gotop is significant in package-manager culture because it is a classic terminal eye-candy package: easy to demo, easy to install, and tied to a lineage of top, htop, gtop, vtop, ytop, bashtop, and bpytop. Its fork history also shows how package ecosystems preserve useful CLIs after an original upstream changes direction.

### 时间线

- 2018: Original cjbassi/gotop repository created and 1.0.0 release published.
- 2019: cjbassi/ytop repository created as a Rust TUI system monitor.
- 2020: xxxserxxx/gotop fork repository created.
- 2020: v3.1.0 release published from the maintained fork.
- 2020: v4.0.0 and v4.0.1 releases moved the fork through a major version line.
- 2021: v4.1.x releases added work including Apple silicon builds, translations, NVIDIA support, and remote support.
- 2022: v4.2.0 release noted contributor-driven maintenance and required Go 1.16 or later for builds.

### Related projects

- gtop and vtop are the JavaScript terminal monitors that inspired the original project.
- ytop is the original author's Rust rewrite.
- top, htop, bashtop, bpytop, atop, iftop, iotop, nmon, ctop, and related tools occupy the same terminal-monitoring family.

### 来源

- <https://formulae.brew.sh/formula/gotop>
- <https://github.com/cjbassi/gotop>
- <https://github.com/cjbassi/ytop>
- <https://github.com/xxxserxxx/gotop>
- <https://github.com/xxxserxxx/gotop#readme>
- <https://github.com/xxxserxxx/gotop/releases>


## 安全说明

narrow executable package without higher-risk signals.

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


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ./gotop.conf, ~/.config/gotop/gotop.conf, /etc/gotop/gotop.conf
## 其他软件包管理器记录

- Nix - gotop: normalized package name match | nixpkgs package indexes: pkgs/by-name/go/gotop/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - gotop - 4.2.0-r32: normalized package name match | Alpine Linux edge package indexes: gotop from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Terminal based graphical activity monitor | https://github.com/xxxserxxx/gotop
- MacPorts - gotop: normalized package name match | MacPorts ports tree: sysutils/gotop/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/gotop: normalized package name match | Scoop official bucket manifest trees: bucket/gotop.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

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


## 来源

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