Here, you’ll find the instructions to install Go on a Mac OS computer.
Open the package file you downloaded and follow the prompts to install Go.
- The package installs the Go distribution to
- The package should put the
/usr/local/go/bindirectory in your
Restart your terminal and verify the settings by entering the following commands.
which go # returns: /usr/local/go/bin/go
echo $PATH # Make sure PATH contains '/usr/local/go/bin/go'.
go version # Prints something similar to the following: # go version go1.16.4 darwin/amd64
You Are All Set
That’s it. You are now ready to use Go in your system.
\ \\, \\\,^,.,,. Zero to Hero ,;7~((\))`;;,, <zerotohero.dev> ,(@') ;)`))\;;', stay up to date, be curious: learn ) . ),(( ))\;, /;`,,/7),)) )) )\,, (& )` (,((,((;( ))\,