macOS
brew install htoplocal Homebrew formula metadata
sudo port install htopMacPorts ports tree · sysutils/htop/Portfile · 来源: api.github.com
安装
brew install htoplocal Homebrew formula metadata
sudo port install htopMacPorts ports tree · sysutils/htop/Portfile · 来源: api.github.com
sudo apk add htopAlpine Linux edge package indexes · htop · 来源: dl-cdn.alpinelinux.org
sudo dnf install htopFedora Rawhide package metadata · htop · 来源: dl.fedoraproject.org
nix profile install nixpkgs#htopnixpkgs package indexes · pkgs/by-name/ht/htop/package.nix · 来源: api.github.com
sudo pacman -S htopArch Linux sync databases · htop · 来源: geo.mirror.pkgbuild.com
sudo zypper install htopopenSUSE Tumbleweed package metadata · htop · 来源: download.opensuse.org
概览
Improved top (interactive process viewer)
历史
htop is a cross-platform interactive terminal process viewer and process manager. It became one of the canonical 'install this first' system packages because it made `top`-style process monitoring visual, sortable, searchable, colorful, and keyboard/mouse interactive while staying inside a terminal.
The htop-dev README records that htop was invented, developed, and maintained by Hisham Muhammad from 2004 to 2019, with the original repository archived to preserve that history. The legacy README describes the project as an interactive text-mode process viewer for Unix systems that aims to be a better `top`.
A 2016 FOSDEM talk by Muhammad describes the early implementation as Linux-oriented, using `/proc` for process data and ncurses for the interface. The talk also documents the portability story: FreeBSD users used linprocfs, a Mac OS X fork diverged, and a later effort brought cross-platform support back into the main project.
In 2020, after a prolonged period of inactivity by the original maintainer, a volunteer team took over development amicably under the htop-dev organization. The ChangeLog entry for 3.0.0 names the new maintainers, htop.dev, and the htop-dev GitHub repository as the continuation point, while the legacy repository points users to the organization-based repository.
htop's adoption is broad enough to be almost infrastructural for Unix-like users. The input package facts record it across Homebrew, Debian, Ubuntu, Fedora, MacPorts, Nix, Arch, Alpine, and openSUSE-style packaging. That spread reflects both user familiarity and maintainer demand: the tool is expected on servers, developer laptops, containers, and rescue shells.
The project's portability work also widened adoption beyond the original Linux `/proc` model. Official and historical materials discuss macOS, BSD, Solaris-family, and other Unix-like support, which helped htop become a standard cross-platform terminal monitor rather than only a Linux convenience.
Users run htop to inspect live CPU, memory, swap, load, process state, process trees, command lines, and per-process resource consumption. Its interactive controls make common administration tasks faster: sort by columns, search or filter processes, change views, inspect trees, send signals, and adjust process priorities without leaving the TUI.
Configuration is part of its package identity. The curated input records `~/.config/htop/htoprc` and `$HTOPRC`, matching the way users customize columns, meters, colors, sorting, and display behavior so the same terminal dashboard appears across machines.
For package nerds, htop is a perfect example of a small terminal program becoming a cultural default. It is not a daemon, framework, or library; it is a better everyday view into process state. Its ubiquity makes package availability itself part of the user expectation: if a system package manager exists, users look for htop in it.
The 2020 maintainer transition is also significant. htop shows how a beloved single-maintainer utility can move to a collaborative organization while preserving the old repository, homepage identity, and release line. That is the kind of continuity package ecosystems depend on.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
~/.config/htop/htoprc$HTOPRC可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
htop | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/htop-dev/htop
安装元数据
| 软件包键 | brew:htop |
|---|---|
| 版本 | 3.5.2 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/htop |
| 主页 | https://htop.dev/ |
| 仓库 | https://github.com/htop-dev/htop |
| 上游文档 | https://github.com/htop-dev/htop#readme |
| 许可证 | GPL-2.0-or-later |
| 源码归档 | https://github.com/htop-dev/htop/archive/refs/tags/3.5.2.tar.gz |
| 最后更新 | 2026-07-18T18:44:08Z |
| Pulse | updated |
| 依赖 | ncurses |
| 构建依赖 | autoconf, automake, libtool, pkgconf |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
| 注意事项 | htop requires root privileges to correctly display all running processes, so you will need to run `sudo htop`. You should be certain that you trust any software you grant root privileges. |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | htop |
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
htop 3.4.1-5
interactive processes viewer
sudo apt install htophtop
nix profile install nixpkgs#htophtop 3.3.0-4build1
interactive processes viewer
sudo apt install htophtop 3.5.1-r1
Interactive process viewer
sudo apk add htophtop-doc 3.5.1-r1
Interactive process viewer (documentation)
sudo apk add htop-dochtop 3.4.1-3.fc44
Interactive process viewer
sudo dnf install htophtop 3.5.1-1
Interactive process viewer
sudo pacman -S htophtop 3.5.1-2.1
An Interactive text-mode Process Viewer for Linux
sudo zypper install htophtop
sudo port install htop来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.