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 htopExplanation
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
Set update delay in tenths of a second
Control refresh cadence from the command line.
Show only selected PIDs
Restrict the list to one or more specific processes.