Default Root via Mac

Is it possible to root via a Mac computer or can it only be done via PC?