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 | |
sudo apt update && sudo apt upgrade -y | |
version="1.17.2" \ | |
&& cd ~ \ | |
&& wget "https://golang.org/dl/go$version.linux-amd64.tar.gz" \ | |
&& sudo rm -rf /usr/local/go \ | |
&& sudo tar -C /usr/local -xzf "go$version.linux-amd64.tar.gz" \ | |
&& rm "go$version.linux-amd64.tar.gz" \ | |
&& echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> ~/.bash_profile \ |
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
### Keybase proof | |
I hereby claim: | |
* I am dsmello on github. | |
* I am dsmello (https://keybase.io/dsmello) on keybase. | |
* I have a public key ASC2jfKKULpuK8ltmnAyGKO99O3gRHu6SJcn2gFYR-4Spgo | |
To claim this, I am signing this object: |