macos – Is there a way to install golang on Mac OS X via Homebrew by specifying the semantic version?
If you want to be able to easily switch between and maintain multiple versions of go, I suggest using Go Version Manager (similar to nvm(node version manager) and rvm(ruby version manager))
Its a great tool. Id also suggest first installing the latest version go using the installer, then use GVM to install and use other versions (go compiler is now written in go after version 1.1 i believe)
You can download GoLangs
binaries and set as
GOROOT. If you will need to change version of go, download required
binaries and switch