Installing Golang on OSX with Brew and oh-my-zsh

brew install go worked well, as expected. However, at the end of the installation, the notes suggest I add GOROOT to my path: You may wish to add the GOROOT-based install location to your PATH: export PATH=$PATH:/usr/local/opt/go/libexec/bin Buuuuut, it didn’t work. After trying out some different iterations, I was reminded when ls-ing through the surrounding directories that /usr/local/opt/go/... was aliased because Homebrew. This Stack Overflow answer reinforced my hunch. So, I updated my .zshrc: ...

Oct 11, 2016 · Christopher Boette