Automic VaultAutomic Vault

brew

Install htop with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Improved top (interactive process viewer). Version 3.5.1 via Homebrew; verified 2026-04-28.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install htop

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install htop

MacPorts ports tree · sysutils/htop/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add htop

Alpine Linux edge package indexes · htop · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install htop

Debian stable package indexes · htop · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install htop

Fedora Rawhide package metadata · htop · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#htop

nixpkgs package indexes · pkgs/by-name/ht/htop/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S htop

Arch Linux sync databases · htop · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install htop

openSUSE Tumbleweed package metadata · htop · source: download.opensuse.org

overview

Package summary

Improved top (interactive process viewer)

Commands and aliases

  • htop

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2004: htop was invented by Hisham Muhammad.
  • 2006: The htop-dev Git tag stream includes the 0.6.1 tag from May.
  • 2016: Muhammad presented the FOSDEM talk 'Going cross-platform: how htop was made portable.'
  • 2019: The htop-dev README marks the end of Muhammad's original maintenance period.
  • 2020: A volunteer team took over development under htop-dev.
  • 2020: Version 3.0.0 introduced the htop-dev continuation after the maintainer transition.
  • Package-manager era: The input package facts record htop across major Linux, BSD-adjacent, macOS, and cross-platform package managers.

Related projects

  • htop is historically related to Unix `top`, and its ecosystem neighbors include process viewers and system monitors such as `atop`, `glances`, `btop`, `gotop`, and desktop task managers. It also has a lineage connection to terminal UI programs built on ncurses and to platform-specific process APIs that replaced the original Linux-only `/proc` assumptions.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 1 runtime dependencies.
  • Build metadata lists 4 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

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

Config paths the tool may read or write during local use.

Unix
~/.config/htop/htoprc$HTOPRC

executables

Installed executables

CommandKindExposureNote
htopcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version3.5.1
manager updated2026-04-28
local dataok
upstreamcurrent
latest detected3.5.1

https://github.com/htop-dev/htop

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:htop
Version3.5.1
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/htop
Homepagehttps://htop.dev/
Repositoryhttps://github.com/htop-dev/htop
Upstream docshttps://github.com/htop-dev/htop#readme
LicenseGPL-2.0-or-later
Source archivehttps://github.com/htop-dev/htop/archive/refs/tags/3.5.1.tar.gz
Last updated2026-04-28T16:07:10Z
Pulseupdated
Dependenciesncurses
Build dependenciesautoconf, automake, libtool, pkgconf
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared
Caveatshtop 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.

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namehtop
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

htop 3.4.1-5

interactive processes viewer

https://htop.dev/

sudo apt install htop
  • Section: utils
  • Architecture: amd64
  • 3 dependencies
  • 3 optional deps
  • normalized package name match
  • Matched by: Htop
Debian stable package indexes · deb.debian.org · Debian stable package indexes: htop from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

htop

nix profile install nixpkgs#htop
  • normalized package name match
  • Matched by: Htop
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ht/htop/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

htop 3.3.0-4build1

interactive processes viewer

https://htop.dev/

sudo apt install htop
  • Section: utils
  • Architecture: amd64
  • 5 dependencies
  • 3 optional deps
  • normalized package name match
  • Matched by: Htop
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: htop from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

htop 3.5.1-r1

Interactive process viewer

https://htop.dev/

sudo apk add htop
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: htop
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Htop
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: htop from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

htop-doc 3.5.1-r1

Interactive process viewer (documentation)

https://htop.dev/

sudo apk add htop-doc
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: htop
  • normalized package name match
  • Matched by: Htop
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: htop-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

htop 3.4.1-3.fc44

Interactive process viewer

https://htop.dev/

sudo dnf install htop
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: htop
  • 7 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Htop
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: htop from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

htop 3.5.1-1

Interactive process viewer

https://htop.dev/

sudo pacman -S htop
  • License: GPL
  • Architecture: x86_64
  • 5 dependencies
  • 3 optional deps
  • normalized package name match
  • Matched by: Htop
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: htop from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

htop 3.5.1-2.1

An Interactive text-mode Process Viewer for Linux

https://htop.dev

sudo zypper install htop
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: htop
  • 9 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Htop
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: htop from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

htop

sudo port install htop
  • normalized package name match
  • Matched by: Htop
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/htop/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment