How to Fix bash: gotop: command not found in Minimal Linux Distributions

The gotop utility is a terminal-based system activity monitor inspired by gtop and htop, written in Go to render real-time CPU, memory, disk, network, and process usage graphs directly inside terminal windows. Because minimal Linux server installations, cloud instances, and container images omit third-party TUI monitoring applications by default, attempting to run the binary returns bash: gotop: command not found.

Install gotop via Precompiled Binary Releases

The fastest and cleanest installation method across any Linux distribution is downloading the official precompiled binary release:

  • Download the latest release tarball for 64-bit x86 architectures:
    curl -Lo gotop.tar.gz https://github.com/cjbassi/gotop/releases/download/3.0.0/gotop_3.0.0_linux_amd64.tar.gz
  • Extract the binary:
    tar -xf gotop.tar.gz
  • Move the executable into your system PATH:
    sudo mv gotop /usr/local/bin/ && sudo chmod +x /usr/local/bin/gotop

Install via Native Package Managers and AUR

Several community software channels distribute gotop packages directly:

  1. Arch Linux:
    yay -S gotop-bin
  2. Homebrew for Linux:
    brew install gotop
  3. Using the Go Toolchain:
    go install github.com/cjbassi/gotop@latest

Verify Installation and Launch the TUI Dashboard

Confirm binary presence and explore real-time hardware telemetry:

  1. Confirm that the binary is located in your system PATH:
    which gotop && gotop --version
  2. Launch the monitoring dashboard:
    gotop
  3. Press ? while gotop is running to view keybindings, or press q to exit cleanly.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.