Created
July 18, 2024 16:43
-
-
Save vicradon/c5a1b9ee1bf444837984cb1c7053710d to your computer and use it in GitHub Desktop.
Install Go
This file contains hidden or 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 | |
cd ~ | |
wget https://go.dev/dl/go1.22.5.linux-amd64.tar.gz | |
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.22.5.linux-amd64.tar.gz | |
echo "export PATH=$PATH:/usr/local/go/bin" >> ~/.bashrc | |
source ~/.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment