How to install htop on MacOS
Posted May 30th, 2011 by Rodrigo Lazoti.
Tagged: Apple, htop, Leopard, Linux, Mac, Mac OS X, os, terminal.
Tagged: Apple, htop, Leopard, Linux, Mac, Mac OS X, os, terminal.
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.
Related Posts

Or just:
brew install htop
What is wrong with the homebrew version?
Diego, Mantas…
Homebrew is another way to install htop on mac, but I already had some problems with homebrew and xcode, that’s why I prefer not to use it.