Skip to content

Instantly share code, notes, and snippets.

@luandevpro luandevpro/Terminal
Created Jun 7, 2019

Embed
What would you like to do?
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
You can’t perform that action at this time.