macos – Is there a way to install golang on Mac OS X via Homebrew by specifying the semantic version?

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))

https://github.com/moovweb/gvm

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 GOROOT.

macos – Is there a way to install golang on Mac OS X via Homebrew by specifying the semantic version?

Leave a Reply

Your email address will not be published.