Small shell script that will allow you to easily install or update Golang from the official website go.dev to the latest version.
Fedora, Ubuntu, Debian, Arch and other.
Clone repository
git clone https://github.com/lib4u/goinstall.git
Or download script via wget
wget https://raw.githubusercontent.com/lib4u/goinstall/refs/heads/main/go_updater.sh
Start install
chmod +x go_updater.sh
./go_updater.sh
Check version
go version
Finish!