Install Go on Mac (with homebrew)

Jim Kang
1 min readJan 2, 2020

Install Brew (skip if you already did)

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Add HomeBrew to PATH (skip if you already did, I am using zsh)

(echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> ~/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"

Update & Install Go

brew update&& brew install golang

--

--

Jim Kang

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