Go Version Manager
curl -fsSL gvm.run/install.sh | bash
Or using wget: wget -qO- gvm.run/install.sh | bash
Install and switch between any Go version with a single command
Automatically manage and rebuild Go tools per version
Stable symlinks that work with VSCode, Neovim, and others
Stay current with built-in upgrade notifications
gvm install latest
Install the latest stable Go version
gvm tools init
Install gopls, delve, golangci-lint, goreleaser
gvm list
List installed versions
gvm use 1.22.0
Switch to a specific version
gvm clean --keep 2
Keep only 2 most recent versions
gvm upgrade
Update gvm itself