chgo

command module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2022 License: CC0-1.0 Imports: 13 Imported by: 0

README

chgo Change Go

Running chgo VERSION will install and link to requested version of Go to $HOME/bin/go.

Examples:

  • chgo go1.17.6
  • chgo gotip
  • chgo latest - installs the highest supported stable version from go.dev/dl
  • chgo --lookup latest - lookup the latest Git commit when installing the requested version

Install:

go install boldlygo.dev/chgo@latest

List Mode

chgo can also list available versions of Go by using the --list flag. This mode will not install and link Go versions.

Examples:

  • chgo --list - lists all availble versions
  • chgo --list go1.17 list all versions of Go 1.17
  • chgo --list latest lists the latest supported stable versions

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL