# 使用 Homebrew, Nix, pacman 安装 gtop

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

## 安装

```sh
sudo av install brew:gtop
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install gtop
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#gtop
```

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

- pacman (92%):

```sh
sudo pacman -S gtop
```

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

## 软件包事实

- **软件包键:** brew:gtop
- **软件包管理器:** Homebrew
- **版本:** 1.1.5
- **来源摘要:** System monitoring dashboard for terminal
- **主页:** <https://github.com/aksakalli/gtop>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- gtop (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

gtop is a Node.js terminal system-monitoring dashboard. It packages a visual top-like TUI around Node dependencies such as blessed, blessed-contrib, and systeminformation.

### 项目历史

The official repository describes gtop as a system monitoring dashboard for the terminal and its package metadata describes it as graphic top. The repository package metadata exposes the gtop executable, MIT license, Node engine requirement, and npm-oriented installation path.

The upstream README documents Linux, macOS, and partial Windows support, global npm installation, Docker execution with host net and pid namespaces, and keyboard sorting of process rows by PID, CPU, or memory. GitHub release metadata on the repository page lists a small release set, with v1.1.5 published in August 2023.

### 采用历史

gtop's adoption is typical of JavaScript command-line utilities: it starts as an npm global tool but is also packaged by Homebrew, Nix, and Arch according to the input package facts. The repository badges point to npm, Snap, and Docker distribution surfaces.

### 使用方式

Users start the dashboard with the gtop command, quit with q or Ctrl-C, and sort the process table with p, c, or m. The README also recommends LANG and TERM settings if terminal glyphs render incorrectly.

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

gtop is package-nerd interesting as a Node-based replacement for classic native top-like tools. It demonstrates the packaging tradeoff of shipping a convenient visual TUI with a JavaScript runtime and dependency tree rather than a small C binary.

### 时间线

- Repository metadata: gtop is published as an MIT-licensed Node package with the gtop executable.
- README: npm global installation is the primary documented installation method.
- README: Docker usage is documented with host net and pid namespace access for host metrics.
- 2023-08-11: The GitHub repository page lists release v1.1.5.

### Related projects

- Node.js provides the runtime.
- blessed and blessed-contrib provide terminal UI building blocks.
- systeminformation provides system metrics.
- npm, Snap, Docker, Homebrew, Nix, and Arch are relevant distribution channels.

### 来源

- <https://github.com/aksakalli/gtop>
- <https://raw.githubusercontent.com/aksakalli/gtop/master/README.md>
- <https://raw.githubusercontent.com/aksakalli/gtop/master/package.json>


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Nix - gtop: normalized package name match | nixpkgs package indexes: pkgs/by-name/gt/gtop/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - gtop - 1.1.5-2: normalized package name match | Arch Linux sync databases: gtop from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | System monitoring dashboard for terminal | https://github.com/aksakalli/gtop


## Combined YAML source

View the package source record on GitHub. [combined/gtop.yml](https://github.com/mxcl/pkgdb/blob/main/combined/gtop.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
