Skip to content
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

Cannot install Go 1.4 #459

Open
grandstairs opened this issue Feb 16, 2024 · 2 comments
Open

Cannot install Go 1.4 #459

grandstairs opened this issue Feb 16, 2024 · 2 comments

Comments

@grandstairs
Copy link

I am struggling to figure out how to install Go on an ARM / Apple Silicon macbook.

$ gvm install go1.4
Installing go1.4...
 * Compiling...
/Users/owner/.gvm/scripts/install: line 93: go: command not found
ERROR: Failed to compile. Check the logs at /Users/owner/.gvm/logs/go-go1.4-compile.log
ERROR: Failed to use installed version

Line 93 requires go env to be working which it isn't because there is no Go binary installed.

So then I tried to install a Go 1.4 binary directly and that failed as well.

$ gvm install go1.4 -B                 
Installing go1.4 from binary source
ERROR: Failed to download binary go
$ echo $PATH
/Users/owner/.rvm/bin:/Users/owner/.gvm/bin:/opt/homebrew....
$ which go
go not found
@kaykhan
Copy link

kaykhan commented Apr 3, 2024

Did you find a fix?

@grandstairs
Copy link
Author

No, I went back to using homebrew for now and just manually changing versions if needed.

$ which go
/opt/homebrew/bin/go
$ go version
go version go1.22.0 darwin/arm64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants