Bash script to automate installation and removal of single-user Go language tools.
Feel free to change the variables on the beginning to match whatever version of Go you need.
✅ Ubuntu 16.04 to 20.04 ✅ macOS Sierra (10.12) to Big Sur (11.3)
🛠️ Bash, fish, Zsh
git clone https://github.com/Chirag-Copart/Go-Script.git
cd Go-Script
bash go.sh
source /root/.zshrc
go --version