Created
August 27, 2019 17:33
-
-
Save refactormyself/2c5beb9181195f796b361a9eb06f9ed5 to your computer and use it in GitHub Desktop.
Download and Install Go
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
#!/usr/bin/env bash | |
wget https://storage.googleapis.com/golang/go1.6.2.linux-amd64.tar.gz | |
sudo rm -rf /usr/local/go | |
sudo tar -C /usr/local -xzf go1.6.2.linux-amd64.tar.gz | |
echo "export GOPATH=~/go" >> ~/.bashrc | |
source ~/.bashrc | |
# mkdir -p $GOPATH/src/myapp | |
# cd $GOPATH/src/myapp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment