Support platforms: ALL
go install github.com/ggdream/gvm@latest
-
Install a Go version
gvm install 1.23.2
-
Set the Go global version
gvm global 1.23.2
-
GVM_ROOT
Store the root directory of gvm(including versions)
-
GVM_HOST
Go software download source host. Default is https://golang.google.cn, you can change it to https://go.dev if you want to use the official source.