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

Run your own Chainlink developer Node with Okteto

Spruce Developer Update #4

How we want to help to solve the four core IT problems by introducing the NoOps platform

PHP… Stuck in the past?

Step by step guide to setup PostgreSQL for beginners

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

Learning Golang ? Start here !

Gomo — 📐 Simple Golang multi modules tool.

lancet (util function library of go) released v2.0.0, fully supports go generic features

Golang Tutorial #2 : Installing Golang on Linux, Windows and Mac OS