In Mac OS X, operational system, Sistema Operacional, Terminal

How to install htop on MacOS

Posted May 30th, 2011 by Rodrigo Lazoti.
Tagged: , , , , , , , .

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. ;)

htop screenshot

Related Posts

  1. Programas úteis para o Mac OS – 2011
  2. Programando para Mac e iPhone SDK
  3. Some tips about Ubuntu 11.04 Natty Narwhal

3 responses to How to install htop on MacOS

  1. Diego Carrion says:

    Or just:

    brew install htop

  2. Mantas Vidutis says:

    What is wrong with the homebrew version?

  3. Rodrigo Lazoti says:

    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.

Leave a response: