Created
December 12, 2020 20:00
-
-
Save anjmao/14ea0567622e78f557257427a5b24e32 to your computer and use it in GitHub Desktop.
Linux Go Install
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
#!/bin/bash | |
set -e | |
wget https://golang.org/dl/go1.15.6.linux-amd64.tar.gz | |
tar -C /usr/local -xzf go1.15.6.linux-amd64.tar.gz | |
echo 'export PATH=$PATH:/usr/local/go/bin' >> $HOME/.profile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment