brew install go in a mac is easy with homebrew
Posted by jpluimers on 2018/06/07
Installing go in one go:
$ brew install go Updating Homebrew... ... ==> Downloading https://homebrew.bintray.com/bottles/go-1.10.2.sierra.bottle.tar.gz ==> Downloading from https://akamai.bintray.com/48/4823ec642228f0a3746fe490ebd33f935d1c53424638792c20035ce0c3e8281e?__gda__=exp=1525363605~hmac=ff794ae42583750331da7067db58f71993bbe870b5833fc08e79908ed2afcc06& ######################################################################## 100.0% ==> Pouring go-1.10.2.sierra.bottle.tar.gz ==> Caveats A valid GOPATH is required to use the `go get` command. If $GOPATH is not specified, $HOME/go will be used by default: https://golang.org/doc/code.html#GOPATH You may wish to add the GOROOT-based install location to your PATH: export PATH=$PATH:/usr/local/opt/go/libexec/bin ==> Summary 🍺 /usr/local/Cellar/go/1.10.2: 8,161 files, 336.8MB
–jeroen
Leave a Reply