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

How I started using Linux

How we test interaction with Facebook

Checking Code Quality with ESLint

images/VS_Code_lint_problems.png

Working at SuperTokens as a Developer Advocate

Demystifying AWS for the Everyday Developer

Add Metamask payments to any website with just a few lines of code.

Chapter 17 Unleash the Power of Refactoring

New Airdrop: Lord Santa Fe

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

How to upgrade Golang version in Linux?

Learning Golang ? Start here !

GoReleaser build multi arch Docker Images

Golang Struct Tags explained