Skip to content

Instantly share code, notes, and snippets.

@tonymtz
Created November 28, 2014 04:25
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 tonymtz/20d439a33fbe8edfee38 to your computer and use it in GitHub Desktop.
Save tonymtz/20d439a33fbe8edfee38 to your computer and use it in GitHub Desktop.
Installing GoLang
#!/usr/bin/env sh
# for golang
# mkdir $HOME/go
# mkdir -p $GOPATH/src/github.com/user
export GOPATH=$HOME/go
export PATH=$PATH:$GOPATH/bin
brew update && brew upgrade
brew install go
brew install git
brew install mercurial
mkdir $HOME/go
mkdir -p $GOPATH/src/github.com/user
go get code.google.com/p/go-tour/gotour
gotour
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment