Skip to content

Instantly share code, notes, and snippets.

@luandevpro
Created June 7, 2019 13:21
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 luandevpro/6735c308ffcebeb834ce229c6c743e29 to your computer and use it in GitHub Desktop.
Save luandevpro/6735c308ffcebeb834ce229c6c743e29 to your computer and use it in GitHub Desktop.
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