Install Golang on Mac
Install go with brew
brew install go
Official package file
Step 1 - Download Golang
Download the latest version of Go here.
Open the package file you downloaded and follow the prompts to install Go.
The package installs the Go distribution to /usr/local/go. The package should put the /usr/local/go/bin directory in your PATH environment variable. You may need to restart any open Terminal sessions for the change to take effect.
Step 2 - verify the installation
go version
if this ouputs the current version, the installation was successful.
Last updated on