Created
November 28, 2014 04:25
-
-
Save tonymtz/20d439a33fbe8edfee38 to your computer and use it in GitHub Desktop.
Installing GoLang
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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