cd ~
wget https://golang.org/dl/go1.15.6.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.15.6.linux-amd64.tar.gz
rm -f go1.15.6.linux-amd64.tar.gz
echo 'PATH="/usr/local/go/bin:$PATH"' >> .profile
source ~/.profile
go version
Recommended Posts