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
- Open a terminal on your Mac OSX
- ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- brew doctor
- 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
Tutorials
+30.1k Golang : How to stream file to client(browser) or write to http.ResponseWriter?
+15.8k Golang : Logging with logrus
+20.2k Golang : Calculate time different
+6.4k Golang : Routes multiplexer routing example with regular expression control
+5.7k Golang : How to convert strange string to JSON with json.MarshalIndent
+4.1k Javascript : How to replace HTML inside <div>?
+13.2k Golang : How to remove certain lines from a file
+5.4k Golang : Lock executable to a specific machine with unique hash of the machine
+8.1k Golang : Select region of interest with mouse click and crop from image
+3.4k Golang : Get FX sentiment from website example
+7.9k Golang : cannot assign type int to value (type uint8) in range error