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/)