Install Go on Mac (with homebrew)

Install Brew (skip if you already did)

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Update & Install Go

brew update&& brew install golang

Setup Workspace

It’s considered best practice to use $HOME/go location for your workspace, so let’s do that!

mkdir -p $HOME/go/{bin,src,pkg}

--

--

--

love writing bit sized programming memo, acoustic guitarist, proud daddy of 5 and great listener (to my kids)

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Don’t Throw the Baby with the Bath Water!

How Ionic Framework Helped Me To Realize My Dream Game

How to Manipulate Web Browsers Using Python

Three Schools for Expecting Exceptions

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Jim Kang

Jim Kang

love writing bit sized programming memo, acoustic guitarist, proud daddy of 5 and great listener (to my kids)

More from Medium

Go build go-sqlite3

Golang in sixty seconds — converting to JSON

Photo of JSON business card, showing logo and text “JSON Data Interchange Format”

Watch Out for These Tricky Things in Go

Golang — if…else