How do I do that? The normal installers (with .pkg files) ask for an admin password. It is possible to run normal mac software without admin access, but how do I run and install this shell software?

  • Why can’t you add yourself to the sudoers file? Commented Sep 19, 2010 at 15:49
  • 1
    The salient point is really that if you don't have admin rights, then there are limits to what you can do. "Contact your System Administrator."
    – benwiggy
    Commented Jul 10, 2021 at 13:01

2 Answers 2


You can compile it yourself or use HomeBrew, that doesn't require root access.

  • 1
    I can't install homebrew without root: user@mac is not in the sudoers file. This incident will be reported. Failed during: /usr/bin/sudo /bin/mkdir /usr/local
    – Anton
    Commented Sep 19, 2010 at 11:37
  • And compiling it myself also requires a lot of sudo - which I can't do. Hell, there is no gcc and cc on this mac.
    – Anton
    Commented Sep 19, 2010 at 11:43
  • Without gcc you will be unable to install it, with or without homebrew. Btw homebrew can be installed anywhere, see the official documentation. Commented Sep 19, 2010 at 13:29
  • "NOTE: This method might not work for machines managed with Directory Services." - which is exactly the case for my machine.
    – Anton
    Commented Mar 17, 2011 at 8:04
  • If you get an error regarding the SSL cert for the mc download be sure to upgrade homebrew first, as there is a fix in the latest release.
    – Kris
    Commented Sep 13, 2011 at 15:00

Compile it elsewhere on a Mac where you do have the necessary tools installed. Move the binary over to the other machine.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .