Installing Go – Installing Go in Mac OS X using Package Installer


Installing Go in Mac OS X using Package Installer

From the golang’s download page, get the Mac package installer (ending in .pkg) and run it.

screenshot of golang's download page as of this writting, highliting link

Check installation and version of go

To check if go was successfully installed, open your terminal and use:

$ go version

This should print to the console the version of go, while at the same time making sure the installation went smoothly.

This article needs improvement. You can help improve this article. You can also write similar articles and help the community.