# 使用 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
- **软件包管理器页面:** <https://formulae.brew.sh/formula/gotop>
- **版本:** 4.2.0
- **来源摘要:** Terminal based graphical activity monitor inspired by gtop and vtop
- **主页:** <https://github.com/xxxserxxx/gotop>
- **仓库:** <https://github.com/xxxserxxx/gotop>
- **许可证:** BSD-3-Clause
- **源码归档:** <https://github.com/xxxserxxx/gotop/archive/refs/tags/v4.2.0.tar.gz>
- **最后更新:** 2026-07-27T14:57:51+02:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- gotop (cli)
- gotop (别名)

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 4.2.0
- 管理器更新时间: 2026-07-27
- 本地数据: OK
- 上游仓库: https://github.com/xxxserxxx/gotop
- 检测到的最新版本: v4.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
## 源数据库详情

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

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

- 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


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [htop](https://pkg.so/zh-hans/brew/htop/) - Shares pkgdb curated category or tags: cli, monitoring, system, terminal.
- [pv](https://pkg.so/zh-hans/brew/pv/) - Shares pkgdb curated category or tags: cli, monitoring, system, terminal.
- [bottom](https://pkg.so/zh-hans/brew/bottom/) - Shares pkgdb curated category or tags: cli, monitoring, system, system-monitor, terminal.
- [viddy](https://pkg.so/zh-hans/brew/viddy/) - Shares pkgdb curated category or tags: cli, monitoring, system, terminal.
- [dfc](https://pkg.so/zh-hans/brew/dfc/) - Shares pkgdb curated category or tags: cli, monitoring, system, terminal.
- [hwatch](https://pkg.so/zh-hans/brew/hwatch/) - Shares pkgdb curated category or tags: cli, monitoring, system, terminal.
- [gtop](https://pkg.so/zh-hans/brew/gtop/) - Shares pkgdb curated category or tags: cli, system, system-monitor, terminal.
- [multitail](https://pkg.so/zh-hans/brew/multitail/) - Shares pkgdb curated category or tags: cli, monitoring, system, terminal.
- [zenith](https://pkg.so/zh-hans/brew/zenith/) - Local package facts share a topical domain. Shared terms: cli, graphical, monitor, monitoring, system.

## 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
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
