/Go-Script

This Script will install golang in your Linux System.

Primary LanguageShell

Go-Script

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.

Tested working on:

✅ Ubuntu 16.04 to 20.04 ✅ macOS Sierra (10.12) to Big Sur (11.3)

Supported shells:

🛠️ Bash, fish, Zsh

Usage:

git clone https://github.com/Chirag-Copart/Go-Script.git
cd Go-Script
bash go.sh
source /root/.zshrc
go --version