GVM is a version manager for Google Go (golang) that allows you to manage multiple Go versions all installed on your system and switch between them with ease.
This is similar to the NVM (Node Version Manager) but for Go.
The project for GVM is here on GitHub.
1gvm 1.17.5 # installs gvm 1.17.5 and set's it as your current go version
Once you have GVM installed it takes over the entire install process for Go so you don’t have to.