Created
June 7, 2019 13:21
-
-
Save luandevpro/6735c308ffcebeb834ce229c6c743e29 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
sudo apt-get update | |
sudo apt-get -y upgrade | |
wget https://dl.google.com/go/go1.12.2.linux-amd64.tar.gz | |
sudo tar -xvf go1.12.2.linux-amd64.tar.gz | |
sudo mv go /usr/local | |
export GOROOT=/usr/local/go | |
export GOPATH=$HOME/Documents/Go/ | |
export PATH=$GOPATH/bin:$GOROOT/bin:$PATH | |
go version | |
go env |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment