Root Rooting 2.2 on a mac

I was wondering how I can root my phone on my mac. It is an iMac and I am running safari. I want to know what to download so I can do this. I am new to this, and would like the easiest way, but if not I am willing to learn how to do anything. Thanks! :)