Htop Launch, Install, and Startup Flags/Install on Debian or Ubuntu

Install htop from APT repositories.

Section: Install and start

Install on Debian or Ubuntu

bash
bash
sudo apt-get update && sudo apt-get install -y htop
Explanation

Useful on Debian, Ubuntu, and compatible systems.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Install and start
Install on RHEL, CentOS Stream, Fedora
Install htop with dnf.
OpenIn sheetbashsame section
Install on Arch Linux
Install htop with pacman.
OpenIn sheetbashsame section
Launch htop
Start the interactive process viewer.
OpenIn sheetbashsame section
Set update delay in tenths of a second
Control refresh cadence from the command line.
OpenIn sheetbashsame section
Show only selected PIDs
Restrict the list to one or more specific processes.
OpenIn sheetbashsame section
Show only one user's processes
Start htop already filtered by user.
OpenIn sheetbashsame section