gvm is a version manager for the Go programming language. Unfortunately gvm does not support Windows.
This script provides a partial emulation of the CLI of gvm to allow the same commands to be used for management of Go version on all platforms.
- Add the path containing the script to the
PATHenvironment variable. - Add the following line to
~/.bashrc:ⓘ Thealias gvm="source gvm.sh"sourceis a hack to allow the script to modify the environment variables of the shell the script is executed from, as is required for thegvm useinvocation to work.