Skip to content

Instantly share code, notes, and snippets.

@clutchski
Last active April 26, 2017 20:26
Show Gist options
  • Save clutchski/a662c9b2912d77e8e346 to your computer and use it in GitHub Desktop.
Save clutchski/a662c9b2912d77e8e346 to your computer and use it in GitHub Desktop.
install go quickly
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