If you have apt-get if you use Debian, Mac OS X has Homebrew that isn’t built in with the system, but it’s easy to get.
I wanted to set up Ruby environments on my computer, this is why I need Rubygems, and using Homebrew will make things easier.
So here is how I installed Homebrew on Mavericks
Use these steps carefully, it works when this post is written, but it may change anytime
Installing Homebrew on Mavericks Mac OS Video
If you are often visiting my blog (thank you!) you’ll notice that my video this time is very different, with slideshow..
This is because I didn’t intend to publish installing Homebrew on Mavericks process while I still recorded how I did it.
I guess it doesn’t need video at all though, but I love doing it, can’t help it..
Text Steps to install Homebrew on Mavericks
1. I installed Xcode Version 5.0.2 (5A3005). To do this, go to your AppStore, and search for Xcode. You should find it immediately there, click “Install”.
Now, if you go to official installation wiki page of Homebrew, and most tutorials will suggest us, to type
xcode-select --install into terminal, however, when this post is written I got these messages:
The “x-code-select” command requires the command line developers tools. Would you like to install the tools now?” message.
Then got this “Can’t install the software because it is not currently not available from the software Update server” error message.
So I went to Xcode to Preference or CMD + , and navigate to “Downloads” tab, and you should see something like this iOS simulator, and there is no option to download Command Line Tools, under “Components” this is because the new Xcode version has already preinstalled Command Line Tools. Makes things easier huh.
I got CommandLineTools inside “Computer” – “Macintosh HD” – “Library” – “Developer” folder. Click here if you want to find User’s hidden Library folder on Mavericks
3. So let’s move on to the next step, which is opening your terminal, (inside Applications – Utilities – Terminal, you can go to this page for another post on how to use Terminal), then, copy and paste this following code, or from brew.sh into your terminal.
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
Hit return, you will be prompted to type your password (the pass you use to login to your Mac).
Follow the instruction, which is typing “brew doctor” to start using it. In the video, I typed brew help first before actually typing “brew doctor”.
brew listwill tell you the list of installed package in your Mac.