Commands.page Logo

How to Install Htop on Ubuntu Linux

This article provides a concise guide to installing the htop interactive process viewer on a Ubuntu system. It details the exact command required for fresh installations and ensures users can quickly monitor system resources effectively.

To install htop on a fresh Ubuntu installation, open your terminal and run the following command:

sudo apt install htop

Before installing, it is good practice to update your package list to ensure you get the latest version. Execute this command first:

sudo apt update

Once the installation completes, you can launch htop by typing:

htop

To exit the application, press the F10 key or Ctrl+C. This tool provides a colorful and user-friendly interface for monitoring CPU, memory, and process usage in real time.