command
module
Version:
v1.1.0
Opens a new window with list of versions in this module.
Published: Feb 5, 2022
License: CC0-1.0
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
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
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.