Have you ever wondered how to install homebrew without XCode? Well, you can do it by just isntalling the command-line tools only.

Install Command Line Tools

xcode-select --install  

When this is finished, you can install homebrew!

Install Homebrew

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

You’re welcome!