How to Install Htop on Arch Linux


As a user, you might be curious about the processes running on your computer and how they impact your system’s performance. This is where Htop comes in. Htop is a free and open-source tool that provides users with a text-based view of all the processes running on their system. Additionally, it displays other information like memory usage. With Htop, you can easily see what’s happening inside your computer and identify potential issues. And if you’re worried about the impact of a particular process, you can kill it with Htop. So if you’re looking for a way to get more insights into your computer’s inner workings, Htop is perhaps one of the best-known terminal interactive viewers you could try.

The following tutorial will teach you how to install Htop Interactive Process Viewer on Arch Linux on a workstation desktop or headless server using the command line terminal.

Update Arch Linux

Before you proceed, run a quick update to ensure all packages are up-to-date to avoid conflicts.

sudo pacman -Syu

Sometimes, you may need to do a full database download if you have not upgraded your Arch Linux system for a while, use the following command if the above update command does not work.

sudo pacman -Syyu

Lastly, Arch Linux being a rolling release, on the rare occasion when updating packages with Pacman GPG keys can become invalid or corrupt. If both commands do not work, use the following command.


sudo pacman -S archlinux-keyring

Once done, use one of the two commands above to check and proceed to upgrade your Arch Linux system.

Install Htop Interactive Viewer

By default, Htop is available on Arch Linux official repositories, making the installation straightforward without needing packages from the AUR, for example.


In your terminal, use the following command to install Htop.

sudo pacman -S htop

Additionally, add –noconfirm to the end of the command for those that want to select yes to the default questions.

Confirm the installation and version build using the htop –version command.

htop --version

Example output:


htop 3.2.1

How to use Htop – Terminal Commands

As the name suggests, use the following command to bring up Htop in your terminal.


Example output:

How to Install Htop on Arch Linux

This is a standard overview of your system, which would suit most users who need to check quickly on the system stats.

Further options can be added, such as some standard parameters below.


–delay= 10
Specify the update rate in 1/10 seconds
Start without colors
Show quick help
Show only processes of the specified user
Sort by a specific column. A list of the permitted column names can be htop -s help output with”. “
Show Htop version

One of the most common parameters is delaying the update frequency of Htop, as many have the application constantly running to monitor system or network performances.

htop -d 10

As mentioned above, this has added a ten-second delay, but you can specify anything you want in seconds.


Htop Keyboard Shorts

Below is a list of the most commonly used shortcuts.

← , ↑ , → , ↓Scroll through the process list
⇧ + URemove all tags
. or ,Incremental search for the PID
F1 , ? , HShow help
UShow processes of a user
F2 , ⇧ + SOpen setup and change settings
⇧ + HShow/hide user  threads
F3, ⇧ + /Incremental process name search
⇧ + KShow/hide kernel threads
F4, \Filter by name
⇧ + F.Pin the cursor to a process
F5 , TActivate / deactivate tree view
+ , –Expand/collapse the tree
F6, >Select the column to sort
⇧ + PSort processes by CPU usage
F7Decrease Nice value
⇧ + MSort processes by memory usage
F8Increase Nice value
⇧ + TSort processes by the time
F9, KEnd the process or processes of a day
LOpen files with lsof open
F10 , Q , Ctrl + C   break up
SSystem calls to stracetrace
Space barTag process
⇧ + LTrack library ltracecalls
II / O control

How to Remove (Uninstall) Htop

Removing Htop from your system is straightforward. Use the following command.

sudo pacman -Rs htop

Comments and Conclusion

If you’re curious about what’s happening on your computer or want to see it more visually, Htop is the tool for you! It’s easy to use and doesn’t require fancy graphics or coding knowledge. Plus, it’s free and open-source with a great community behind it.

For more information, visit the official website.

Share on: