goenv
Install, uninstall, or switch between Golang versions. tldr-pages
On several platforms
Several platforms
Install, uninstall, or switch between Golang versions. Supports version numbers like "1.16.15" or "1.22.8" etc.
List all available goenv commands
goenv commandsIdentifyInstall a specific version of Golang
goenv install go_versionIdentifyUse a specific version of Golang in the current project
goenv local go_versionIdentifySet the default Golang version
goenv global go_versionIdentifyList all available Golang versions and highlight the default one
goenv versionsIdentifyUninstall a given Go version
goenv uninstall go_versionIdentifyRun an executable with the selected Go version
goenv exec go run go_versionIdentify