Xcode is Required – First Download and Install the Latest Version.
Then Run:
xcode-select --install
Select Yes and Install the necessary tools.
Now Install Homebrew
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
brew doctor
Now, test Brew –
brew install siege