Skip to content

Instantly share code, notes, and snippets.

@lootek
Created June 15, 2018 08:34
Show Gist options
  • Save lootek/e44e6eac425764bf1871df5a9b3b1a90 to your computer and use it in GitHub Desktop.
Save lootek/e44e6eac425764bf1871df5a9b3b1a90 to your computer and use it in GitHub Desktop.
Go compiler install/update oneliners
# From official binary release
v=1.10.3; curl -Sso /tmp/go.tar.gz https://dl.google.com/go/go$v.linux-amd64.tar.gz && cd /tmp && tar -xf go.tar.gz -C /usr/local && rm -fv /tmp/go.tar.gz
# Using gvm (https://github.com/moovweb/gvm)
v=1.10.3; gvm install go$v --prefer-binary --with-build-tools; gvm use go$v --default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment