This is an old revision of the document!
homebrew
Install homebrew
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" export GIT_SSL_NO_VERIFY=1 brew install git brew install openssl
Install basics
brew install bash sudo echo /usr/local/bin/bash >> /etc/shells chsh -s /usr/local/bin/bash sudo chsh -s /usr/local/bin/bash
OpenSSL
If you want to use homebrew's version of OpenSSL to build other programs, you can create the environment variables:
LDFLAGS: -L/usr/local/opt/openssl/lib CPPFLAGS: -I/usr/local/opt/openssl/include
github
If you are pinging github a lot, you may need to use an authentication token. Here is one created for Digital Trike: 077569ca64341468aa81983d02ccee704d6c45c4
To use with homebrew:
export HOMEBREW_GITHUB_API_TOKEN=077569ca64341468aa81983d02ccee704d6c45c4
Update repo
brew update
Display upgrades
brew outdated
Upgrade packages
brew upgrade
Remove duplicate versions
brew cleanup openssl
sudo su - user -l -c "brew cleanup"