Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

My stumbling block is always that I start with macports, which requires Xcode, which requires logging into apple, app store, long download, long install ...

Do I understand that brew does not require xcode and I can jump straight from a new machine to `brew install git` (for instance) ?

If so, why does anyone use macports over brew ?



Homebrew also requires at least the OS X Command-line developer tools, which previously were only included with XCode.

I suspect macports might also be able to cope with just these tools? Or does it still have X11 ports?


pretty sure homebrew automatically downloads command-line tools during it's setup, then it will warn you if packages need the full xcode installation.


You can download the command line tools directly, you may need to be a registered Apple dev first though


You don't, just run

     xcode-select --install
And it'll prompt you to install the command line tools.


and, in my experience, fail every time you try to do it.


I just did this yesterday. Easy peasy.


Simply typing gcc on a pristine Mavericks system will also prompt you to download the command line tools.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: