How to install Homebrew on Mavericks?
The homebrew homepage has a single step instalation:

paste

ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

into terminal and hit return