Fork me on GitHub

Project Notes

Installing Go for MacOS

Getting a Go compiler running under MacOS

Notes

There are at least three methods:

brew

I use homebrew to manage most of my software installation, so I’ll use that.

The brew formula for installation is go.

$ brew install go
==> Downloading https://homebrew.bintray.com/bottles/go-1.6.2.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring go-1.6.2.yosemite.bottle.tar.gz
==> Caveats
As of go 1.2, a valid GOPATH is required to use the `go get` command:
  https://golang.org/doc/code.html#GOPATH

You may wish to add the GOROOT-based install location to your PATH:
  export PATH=$PATH:/usr/local/opt/go/libexec/bin
==> Summary
🍺  /usr/local/Cellar/go/1.6.2: 5,778 files, 325.3M

$ go version
go version go1.6.2 darwin/amd64

So far, so good..

Credits and References

About LCK#207 GoMacOS
Project Source on GitHub Return to the Project Catalog

This page is a web-friendly rendering of my project notes shared in the LittleCodingKata GitHub repository.

LittleCodingKata is my collection of programming exercises, research and code toys broadly spanning things that relate to programming and software development (languages, frameworks and tools).

These range from the trivial to the complex and serious. Many are inspired by existing work and I'll note credits and references where applicable. The focus is quite scattered, as I variously work on things new and important in the moment, or go back to revisit things from the past.

This is primarily a personal collection for my own edification and learning, but anyone who stumbles by is welcome to borrow, steal or reference the work here. And if you spot errors or issues I'd really appreciate some feedback - create an issue, send me an email or even send a pull-request.