Install Homebrew without XCODE

I was helping someone set up FFmpeg and they have never opened terminal before so I was sure they needed Homebrew installed. I grabbed them the link available at and they were prompted to download Xcode from the App Store and that’s just too much space to waste on an IDE we aren’t going to use (sorry, Apple). I found a great two step process over at

Two easy steps:

open iTerm (because we use iTerm, always… if you are not using iTerm, please go there, download, install and run then come back) but my friend was using terminal so that’s why the pictures show terminal.


$ xcode-select –install

and when prompted and select “Install” when the system asks you as seen below:

system prompt for command line tools
The system will prompt you to install the command line tools without XCODE, notice the Get Xcode option.

after that you can type (or paste):

$ ruby -e “$(curl -fsSL”\

and that will eventually ask you for permission to install Homebrew and then your password.

homebrew prompts for password
Homebrew will ask you for your password and give you this scary message that isn’t scary at all.

after that, you have Homebrew and you saved yourself a lot of hard drive space.

Thanks to Ryan Winchester for posting the tip originally!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.