From f85b60dd2b47a447e3daf5edfb1e889da9ee9431 Mon Sep 17 00:00:00 2001 From: Inanc Gumus Date: Sat, 13 Apr 2019 20:59:58 +0300 Subject: [PATCH] update: os x installation doc --- 01-get-started/osx-installation.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/01-get-started/osx-installation.md b/01-get-started/osx-installation.md index 0d3c9a5..d4c4c39 100644 --- a/01-get-started/osx-installation.md +++ b/01-get-started/osx-installation.md @@ -1,5 +1,20 @@ # OS X INSTALLATION CHEATSHEET +## NOTE + +If you have [homebrew](https://brew.sh) installed, you can easily install Go like so: + +``` +# if you don't have git install it like so: +brew install git + +# then install go +brew install go + +# add GOBIN path to your PATH in ~/.bash_profile +export PATH=${HOME}/go/bin:$PATH +``` + ## 1- Install Visual Studio Code Editor 1. Install it but don't open it yet. @@ -44,4 +59,4 @@ > > Learn Go Programming Course > -> [Click here to read the license.](https://creativecommons.org/licenses/by-nc-sa/4.0/) \ No newline at end of file +> [Click here to read the license.](https://creativecommons.org/licenses/by-nc-sa/4.0/)