2 ms·
You mean installing Homebrew itself? Because if you're running "sudo brew install foo" you're doing it wrong.
by eli 13y ago
You mean installing Homebrew itself? Because if you're running "sudo brew install foo" you're doing it wrong.
- traviscj 13y agoYes. And nope, I'm not referring to 'sudo brew install'. The main homebrew page says, 'run this ruby script'. The ruby script is available at: https://raw.github.com/mxcl/homebrew/go https://raw.github.com/mxcl/homebrew/go The script includes a sudo command. To be fair, I hadn't read the script in detail when I wrote my post, just far enough to see there was a definition of a sudo function. On review, it looks like they either call it to chmod/chgrp HOMEBREW_PREFIX (sometimes), or run sudo to create the directories.
- eli 13y agoFair enough. I think everyone agrees that the "download and execute a random gist" method of installation is not great.
- plorkyeran 13y agoI don't see any reason why it's worse than running a binary installer, and people seem to object to that a lot less for some reason.