Quick Update GoLang

Woman Reading

Check your current Go version You can do this by running the following command in your terminal

Books

go version

Download the latest Go release You can download the latest Go release from the Go website: 

Books

https://golang.org/dl/

Uninstall your current Go installation If you are using a Linux or macOS system, you can uninstall your current Go installation by running the following command:

Books

sudo rm -rf /usr/local/go

Install the new Go release You can install it by following the instructions in the Go installation documentation: 

Books

https://golang.org/doc/install