CmdID

CmdID / Commands

goenv

Install, uninstall, or switch between Golang versions. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

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 commandsIdentify

Install a specific version of Golang

goenv install go_versionIdentify

Use a specific version of Golang in the current project

goenv local go_versionIdentify

Set the default Golang version

goenv global go_versionIdentify

List all available Golang versions and highlight the default one

goenv versionsIdentify

Uninstall a given Go version

goenv uninstall go_versionIdentify

Run an executable with the selected Go version

goenv exec go run go_versionIdentify