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”.

Typing brew list
will tell you the list of installed package in your Mac.
Hello Kimi,
First of all i would like to thank you for this great tutorial .
the reason i am writing you is because i am facing some issues after home-brew instalation following your instructions every things went fine until the last step : brew doctor i have got some warning messages :
airnabil:~ Nabil$ brew doctor
Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn’t put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected dylibs:
/usr/local/lib/libfuse4x.2.dylib
/usr/local/lib/libfuse4x_ino32.dylib
/usr/local/lib/libulockmgr.1.dylib
Warning: Unbrewed .la files were found in /usr/local/lib.
If you didn’t put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected .la files:
/usr/local/lib/libfuse4x.la
/usr/local/lib/libulockmgr.la
Warning: Unbrewed .pc files were found in /usr/local/lib/pkgconfig.
If you didn’t put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected .pc files:
/usr/local/lib/pkgconfig/fuse.pc
Warning: /usr/bin occurs before /usr/local/bin
This means that system-provided programs will be used instead of those
provided by Homebrew. The following tools exist at both paths:
git
git-cvsserver
git-receive-pack
git-shell
git-upload-archive
git-upload-pack
Consider setting your PATH so that /usr/local/bin
occurs before /usr/bin. Here is a one-liner:
echo export PATH=’/usr/local/bin:$PATH’ >> ~/.bash_profile
airnabil:~ Nabil$
I have then stopped and decided to write you and ask for your help . I am not actually a programer guy neither a developer but i am really really interested to become one .
One of the most frustrating thing i usually face is the lack of how to compile an App from the source code , you know sometimes i get some apps interesting ones from Github but mostly people post the source code ; however, i have already asked someone to start to post the .dmg files in my case i am a mac user but its not easy sometimes thats why i was asked to install the homebrew , to be honest is the first time i heard about it and thats why i searched and funded your video on youtube and then i have decided to write after i get those messages and i thought you would be very familiar with that ..
I really appreciate your intervention and help .
How do i proceed after those warnings ?
could you make a video demo with the homebrew ? and maybe how to compile from the source code ?
Thank you very much and have a great day/Night ,
Kindly,
Nabil
Hi Nabil!
I’m not familiar with Homebrew, I installed it to get Octopress running at that time. However, did you try to install Homebrew, and re-install it again? I never had this problem, but I found many people have almost similar problem with this..
https://github.com/Homebrew/homebrew/issues/25490
http://apple.stackexchange.com/questions/108043/how-to-fix-multiple-errors-when-installing-homebrew-on-osx-lion-mainly-osxfuse
I just now, tried typing “brew doctor” and things went well. I recommend http://stackoverflow.com/ to get better help.
Kind regards
Kimi.