How to Install and Use gotop on Ubuntu 26.04 and 24.04

Share

To install gotop on Ubuntu 26.04 or 24.04, download the official DEB for your architecture from the xxxserxxx/gotop fork and install it with APT.

gotop charts CPU, memory and other system activity in your terminal. The original cjbassi/gotop project is archived and points users to the fork. The fork received code changes in May 2026, while its latest tagged release is still v4.2.0 from September 2022.

Before you begin
  1. Architecture. This guide covers Ubuntu 26.04 LTS and 24.04 LTS on amd64 and arm64. Step 1 shows how to identify your package architecture.
  2. Administrator access. The DEB method uses sudo. If your machine already has Go, you can use the per-user method without administrator access.
  3. Terminal. Use a local terminal or an interactive SSH session. Run gotop from your regular account.

Install gotop from the official DEB

Step 1. Check your architecture and download one package
Ubuntu terminal
dpkg --print-architecture

If the output is amd64, download gotop_v4.2.0_linux_amd64.deb. If it is arm64, download gotop_v4.2.0_linux_arm64.deb. Save the file in Downloads. Ubuntu’s own repositories do not provide these packages.

Step 2. Install the file you downloaded

Run the command for your architecture. If you saved the file somewhere else, open that folder in the terminal and run just the matching APT command.

amd64
cd "$HOME/Downloads" && sudo apt install ./gotop_v4.2.0_linux_amd64.deb
arm64
cd "$HOME/Downloads" && sudo apt install ./gotop_v4.2.0_linux_arm64.deb
Step 3. Check the version and open gotop
Ubuntu terminal
gotop --version
gotop

The second command opens the dashboard. Press ? for keys or q to quit. See our 19 Best Terminal Emulators for Ubuntu guide if you want a terminal with split panes for monitoring alongside your other work.

Install gotop with Go

Step 1. Check Go and install into your home directory

Run go version to check that Go is installed. The project declares Go 1.16 as its minimum. If Go is missing, use the first command to install Ubuntu’s Go package. The second command runs without sudo and puts the binary in $HOME/.local/bin without changing your shell’s Go settings permanently. If that folder already contains a gotop binary you want to keep, back it up first.

Install Go if needed
sudo apt update && sudo apt install golang-go
Ubuntu terminal
(
  mkdir -p "$HOME/.local/bin" &&
  export GOBIN="$HOME/.local/bin" &&
  go install github.com/xxxserxxx/gotop/v4/cmd/gotop@latest
)
Step 2. Verify the module and open the binary

Go’s module information shows which version it built. The install command currently resolves to v4.2.0.

Ubuntu terminal
go version -m "$HOME/.local/bin/gotop"
"$HOME/.local/bin/gotop"

Use the full path in the examples if your shell cannot find gotop, or if a pre-existing system copy takes precedence.

Change the gotop dashboard

The default dashboard shows several views at once, including CPU, memory, temperature, network activity and processes. Run one of these at a time. Press q to return to the terminal before trying another.

Monokai
gotop -c monokai
Solarized
gotop -c solarized
Battery
gotop -l battery
Minimal
gotop -l minimal

The battery layout includes a battery panel when the machine reports battery data. The minimal layout keeps CPU, memory and processes in view. You can combine a color and a layout, for example with gotop -c monokai -l minimal.

Sort processes and stop a test process

In the process list, press c to sort by CPU or m to sort by memory. Use the arrow keys to move the selection.

Practice on a disposable process

Open a second terminal and start this test process. The number printed by echo is the process ID, or PID. Keep that terminal open.

Ubuntu terminal
sleep 300 &
echo $!

Switch to single-process view first. gotop groups processes by name by default, so terminating a grouped row can signal multiple processes. Press Tab until the first column shows PIDs. Select the exact PID you just printed and press d twice. This sends SIGTERM, which asks the process to exit. The process can handle or ignore that request. Stopping a real application can lose unsaved work or interrupt a service.

Check the original terminal for a termination notice. If the test process already finished, start another one and use its new PID.

Show NVIDIA GPU temperature

Use a supported NVIDIA GPU and a working NVIDIA driver that provides nvidia-smi on your PATH. Check that it can see your GPU, then launch gotop with the extension.

Ubuntu terminal
nvidia-smi && gotop --nvidia

Look for the GPU in the Temperatures panel. The default layout includes that panel. If you set a custom layout or use -l minimal, switch to a layout with temperatures, such as gotop --nvidia -l battery.

Troubleshoot gotop

APT reports a package architecture mismatch

Run dpkg --print-architecture again. Match its output to the DEB’s filename, and check you are in the folder that contains the downloaded file.

The shell cannot find gotop after a Go install

Run "$HOME/.local/bin/gotop" to launch the binary from the location used in this guide. To use the short command, add that directory to your shell’s PATH. command -v gotop shows which copy your shell will run.

The NVIDIA GPU is missing from Temperatures

Run nvidia-smi on the machine running gotop. If it cannot see your GPU, fix the NVIDIA driver or make its matching utility available first. Then check that the selected layout has a Temperatures panel.

gotop, btop or Resources?

Monitor Interface When to use it
gotop Terminal Use the official DEB or Go. Switch between focused dashboards for CPU, memory and processes.
btop Terminal Available through Ubuntu’s Universe repository on both releases. Shows CPU, memory, disks, network and processes in one dashboard.
Resources Desktop app Included with Ubuntu 26.04 Desktop. Use the application and process views when you prefer a graphical monitor.

Update or uninstall gotop

To update the DEB install, download a newer release for the same architecture and install that file with APT. With Go, repeat the same install command. The upstream DEB does not add an APT repository.

Remove the DEB package
Ubuntu terminal
sudo apt remove gotop

You can also delete the downloaded installer from Downloads.

Remove the Go binary

This command removes the executable from the install location used above. If you used a different Go binary directory, confirm the path to the Go-built file before removing it.

Ubuntu terminal
rm -i -- "$HOME/.local/bin/gotop"

To clear optional settings or cached logs, run gotop --list paths before uninstalling. It reports several search locations, including the working directory. Remove only the gotop-specific files you recognize and no longer need. Keep a backup of custom layouts or colors you want to reuse.

Frequently asked questions

Can I install gotop from the Ubuntu repositories?

The official Ubuntu 26.04 and 24.04 archives do not ship gotop for amd64 or arm64. APT can still install the DEB you download from the upstream project.

Can I use gotop over SSH?

Yes. Open an interactive SSH session and run gotop on the remote machine. The dashboard shows resource usage on the remote machine.

Why does my Go build say gotop 0.0.0?

The plain Go build can display a placeholder version because the release packaging normally sets that value. Check the module version with go version -m and the path to your gotop binary.

Helpful Resources

gotop on GitHub Project documentation and issue tracker.
Official gotop releases Get the packages for your architecture.
NVIDIA extension Check the driver utility and extension settings.