$ brew install postgresql@9.5
brew switch [formula] [version]
brew switch node 0.4.12 brew switch node 0.6.5