How to Install htop on OSX

One of the few things I missed when I made my move from Linux to OSX is the ability to use htop. As many of you might know, OSX is based on Mach Kernel – a custom implementation of Unix. So right out of the box OSX gives you the power of many *nix command line tools, which is why users who are comfortable with *nix systems, fit right at home with OSX.

Unfortunately htop doesn’t have OSX binary available so you will basically have to install it from source. Fortunately, there is an OSX specific htop project out there.


First you will need to install git (skip if you already have git installed):

curl -Otar xzvf git- cd git- configure ./configure –prefix=/usr/localNO_MSGFMT=yes make prefix=/usr/local allsudo make install

Now you can use git to install htop-osx:

git clone git:// htop-osxgit checkout -b osx origin/osx./ sudo make install

  • Even though OSX comes with top and its own built-in system monitor, I have always found htop to be a much better way to monitor my system usage. Which is why I have it installed in all my server and monitor them from SSH