Add the EPEL 8 repository to CentOS


# wget https://dl.fedoraproject.org/pub/epel/8/Everything/x86_64/Packages/e/epel-release-8-7.el8.noarch.rpm

# rpm -ihv epel-release-8-7.el8.noarch.rpm

Then install htop

# yum install htop