Skip to content

Instantly share code, notes, and snippets.

@mohae
mohae / InstallGo
Created February 24, 2016 00:41 — forked from ericlagergren/InstallGo
Installs the current release of Go
#!/bin/bash
#
# For more info see https://golang.org/doc/install.html, the instructions there are all
# that is needed to install Go.
#
# DO NOT RUN with sudo; Go should be installed under the user not root. Using sudo will
# cause problems.
set -euo pipefail