安装
SRC_REPO=http s:// ghproxy.com/github.com/moovweb/gvm.git bash < <(curl -s -S -L http s:// ghproxy.com/raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)
安装golang1.18.8
GO_SOURCE_URL=http s:// ghproxy.com/github.com/golang/go gvm install go1.18.8 -B
使用
gvm use go1.18.8