goenv Command Examples

Install, uninstall or switch between Golang versions. Supports version numbers like "1.16.15" or "1.22.8" etc. More information: https://github.com/go-nv/goenv.

goenv commands

goenv install {{go_version}}

goenv local {{go_version}}

goenv global {{go_version}}

goenv versions

goenv uninstall {{go_version}}

goenv exec go run {{go_version}}