Skip to content

Instantly share code, notes, and snippets.

@cemo
Forked from Jabbslad/golang-setup.sh
Last active Aug 29, 2015
Embed
What would you like to do?
brew install go
mkdir $HOME/go
echo -e "
export GOPATH=$HOME/go
export GOROOT=$(go env GOROOT)
export PATH=$PATH:$GOPATH/bin:$GOROOT/bin" >> $HOME/.bash_profile
brew install hg
source $HOME/.bash_profile
go get code.google.com/p/go.tools/cmd/godoc
go get code.google.com/p/go.tools/cmd/vet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment