4 ms·
This was in reference to Homebrew, though. In Homebrew, installing Go is simply: brew install go No sudo required, nor 'update' command required first, et
by rhencke 9y ago
This was in reference to Homebrew, though. In Homebrew, installing Go is simply:
brew install go
No sudo required, nor 'update' command required first, etc.
- DrJokepu 9y agoI don’t use Homebrew, given that Go is now written in Go, how does Homebrew bootstrap it when there are no binaries available? Does it download Go 1.4, builds it with a C compiler and uses that to build the latest version?
- saagarjha 9y agoBased on this[1] it appears to be running this[2] bootstrap script, which I believe uses make. [1] https://github.com/Homebrew/homebrew-core/blob/master/Formula/go.rb https://github.com/Homebrew/homebrew-core/blob/master/Formul... [2] https://github.com/golang/go/blob/master/src/bootstrap.bash https://github.com/golang/go/blob/master/src/bootstrap.bash
- artursapek 9y agoSure, it's that simple until you need a specific non-default version. In cases like that I have found it easier to install from golang.org, that's all I was trying to say.