feat: more friendly and descriptive output
feat: support arm64 machines
Update Golang download URL to go.dev
A simple shell script for installing and switching between go versions on Linux, FreeBSD, and macOS.
Currently only supports x86_64, but contributions to improve this are welcome.
gover assumes a POSIX environment with
$HOME/.local/bin is towards the beginning of your
curl --tlsv1.2 -o ~/.local/bin/gover https://git.sr.ht/~whereswaldon/gover/blob/main/gover && \ chmod +x ~/.local/bin/gover
sudo curl --tlsv1.2 -o /usr/local/bin/gover https://git.sr.ht/~whereswaldon/gover/blob/main/gover && \ sudo chmod +x /usr/local/bin/gover
You will need to invoke
sudo gover each time you use it.
This will activate the specified version of
go (installing it if needed).
You can specify
latest as a version to get the latest available version.
If no version is specified,
latest is assumed.
gover # assume latest and install gover latest # explicitly request latest gover 1.14.6 # install and activate go 1.14.6 gover 1.13.14 # install and activate go 1.13.14 gover 1.14.6 # activate go 1.14.6 (already installed)