Last active
April 26, 2017 20:26
-
-
Save clutchski/a662c9b2912d77e8e346 to your computer and use it in GitHub Desktop.
install go quickly
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
url=https://storage.googleapis.com/golang/go1.8.1.linux-amd64.tar.gz | |
out=go.tar.gz | |
wget -O $out $url | |
sudo mkdir -p /usr/local/ | |
sudo tar zxfv $out -C /usr/local/ | |
echo '' >> ~/.bashrc | |
echo 'export PATH=$PATH:/usr/local/go/bin/' >> ~/.bashrc | |
echo '' | |
echo "reload your env to get GOPATH. Profiling instructions here: https://golang.org/pkg/net/http/pprof/" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment