Created
December 24, 2018 08:22
-
-
Save metaphorical/d9b0585206657f124cbe52229d9780e8 to your computer and use it in GitHub Desktop.
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
# To install golag on MacOSX using brew and make sure everything is brewed in properly | |
export GOPATH="${HOME}/.go" | |
export GOROOT="$(brew --prefix golang)/libexec" | |
export PATH="$PATH:${GOPATH}/bin:${GOROOT}/bin" | |
test -d "${GOPATH}" || mkdir "${GOPATH}" | |
test -d "${GOPATH}/src/github.com" || mkdir -p "${GOPATH}/src/github.com" | |
brew install go |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment