Mac OSX : Homebrew and Golang




This is a different version of the tutorial for removing Go from Mac. In this tutorial, we will learn how to install Go with Homebrew and uninstall Go with Homebrew.

these commands will install brew on your Mac

  1. Open a terminal on your Mac OSX
  2. ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  3. brew doctor
  4. brew update && brew upgrade

this command will install Go on your Mac

  • brew install go

and this command will uninstall Go

  • brew uninstall go

Note : Homebrew is the missing internal organ that Mac OSX suppose to have. Check out Homebrew at brew.sh

  See also : Uninstall Go from Mac





By Adam Ng

IF you gain some knowledge or the information here solved your programming problem. Please consider donating to the less fortunate or some charities that you like. Apart from donation, planting trees, volunteering or reducing your carbon footprint will be great too.


Advertisement