Created
March 27, 2018 07:21
-
-
Save karuna/ecb224f491abb3bf70f6fd6f153b0449 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# Linux Example (assumes ~/bin is in PATH). | |
curl -sL -o ~/bin/gvm https://github.com/andrewkroh/gvm/releases/download/v0.0.5/gvm-linux-amd64 | |
chmod +x ~/bin/gvm | |
eval "$(gvm 1.10)" | |
go version | |
function go_162 { | |
export GOROOT="/Users/fincep005/.gvm/versions/go1.6.2.darwin.amd64" | |
export PATH="$GOROOT/bin:$PATH" | |
} | |
function go_1100 { | |
export GOROOT="/Users/fincep005/.gvm/versions/go1.10.darwin.amd64" | |
export PATH="$GOROOT/bin:$PATH" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment