Last active
June 4, 2023 08:51
-
-
Save amircloner/de8185e49d2789735c346556e7f8d203 to your computer and use it in GitHub Desktop.
install golang linux
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 | |
#curl -sSL https://gist.github.com/amircloner/de8185e49d2789735c346556e7f8d203/raw | bash | |
wget -c https://go.dev/dl/go1.20.4.linux-amd64.tar.gz | |
shasum -a 256 go1.7.3.linux-amd64.tar.gz | |
sudo tar -C /usr/local -xvzf go1.20.4.linux-amd64.tar.gz | |
echo "export PATH=$PATH:/usr/local/go/bin" >> $HOME/.profile | |
source $HOME/.profile | |
go version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment