How to install htop on MacOS

May 30, 2011

htop is a great interactive process viewer in text-mode, but unfortunately it works only on Linux. Fortunately I found in Github a htop version for OSX and it works perfectly.

To install it, before you’ll need to haveĀ git (if you already don’t have git installed :]). So, below you can see how to install it.

git clone git://github.com/AndyA/htop-osx.git
cd htop-osx
git checkout -b osx origin/osx
export CFLAGS="-m32"
./autogen.sh
./configure
make
sudo make install

To run it, just execute htop in your terminal. ;)

Share, links, and tweets

Comments