You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# download vgo from release packages https://github.com/abvarun226/vgo/releases
$ tar -xvzf vgo-v1.0.1-darwin-amd64.tar.gz
$ sudo mv vgo /usr/local/bin/
# run this to enable command completion in shell
$ COMP_INSTALL=1 COMP_YES=1 vgo
installing..
# For zsh shell, open new terminal OR run below command
$ source ~/.zshrc
# For bash shell, open new terminal OR run below command
$ source ~/.bashrc
Use vgo
# download a new version (1.19) for M1 mac (darwin/arm64)
$ vgo download -version 1.19 -platform darwin -arch arm64
# set the active version of go to 1.19
$ vgo set 1.19
go version go1.19 darwin/arm64
# check if 1.19 is activated
$ go version
go version go1.19 darwin/arm64
# download another version (1.18.5) for M1 mac (darwin/arm64)
$ vgo download -version 1.18.5 -platform darwin -arch arm64
# list the installed versions
$ vgo list
Versions: 1.18.5, 1.19