-
Notifications
You must be signed in to change notification settings - Fork 563
Installing on MacOS Big Sur #360
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks @bullgare, this worked for me as well. |
Not only that, upgrading Go on Big Sur is broken since version checking code in download_binary() doesn't handle 11.0.x properly, resulting in "Binary Go unavailable for this platform" error message and exit 1. |
in my opinion it's simpler and safer with brew (no need for sudo rm -rf):
|
without homebrew version $ curl -sSL https://golang.org/dl/go1.16.2.darwin-amd64.tar.gz | tar zxv
$ export GOROOT_BOOTSTRAP="$(pwd)/go"
$ gvm install go1.16.2
Downloading Go source...
Installing go1.16.2...
* Compiling...
go1.16.2 successfully installed!
$ rm -rf go |
I submitted a patch that should resolve this #380 Go version 1.4.x, is ancient at this point and will not work on Big Sur (it's nearly 6 years old), but more recent binary versions work as expected. |
Agree with @patrykkrawczyk re brew. One thing to add, remember to export
|
For Mac M1, I was only success with |
Installing go from scratch does not work for Big Sur as 1.4 does not have a binary for this OS (this command fails -
gvm install go1.4 -B
).To use gvm, you can do this:
gvm install go1.15.5
gvm use go1.15.5 --default
sudo rm -rvf /usr/local/go/
(which will uninstall non-gvm version).The text was updated successfully, but these errors were encountered: