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.
To use with homebrew:
export HOMEBREW_GITHUB_API_TOKEN=foo-token-address
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"