Skip to content

Instantly share code, notes, and snippets.

@mbyczkowski
Created January 17, 2017 17:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mbyczkowski/a30922caeb553962f299d1558c2f983c to your computer and use it in GitHub Desktop.
Save mbyczkowski/a30922caeb553962f299d1558c2f983c to your computer and use it in GitHub Desktop.
# create a new dir for each version of Go
git clone git@github.com:golang/go.git $HOME/go1.8
cd $HOME/go1.8
git checkout release-branch.go1.8
# assuming you installed go binary with homebrew
export GOROOT_BOOTSTRAP=/usr/local/opt/go/libexec
./all.bash
alias go1.8=$HOME/go1.8/bin/go
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment