What is htop?
htop provides an interactive view of running processes and system activity.
Homebrew installs htop as a formula: a package definition for command-line software and its dependencies. If Homebrew is not installed yet, follow the official installation guide before continuing.
Install and check the formula
Refresh Homebrew’s package definitions, then install htop. Use brew info to inspect the current package and its dependencies; the actual installed version can change over time.
brew update
brew install htop
brew info htopTry it
Start htop to inspect processes; quit with q. Available process details depend on system permissions.
htop --version
htopBefore you rely on it
Viewing a process does not prove it is safe to terminate. Identify its owner and purpose before taking action.
Activity Monitor is the built-in macOS graphical alternative.
Update or remove it
Run brew outdated to see if a newer version is available, and brew upgrade htop to upgrade this formula. Before removing it, preview the changes; other packages may depend on it.
brew outdated
brew upgrade htop
brew uninstall --dry-run htop