Open misaalanshori opened 2 years ago
@misaalanshori @mlcdf kindly try this GO Version Manager: https://github.com/ankitcharolia/goenv
Not as convenient as a dedicated command, but this works great:
$ alias gvm_latest='gvm install $(curl -s "https://go.dev/VERSION?m=text" | head -n 1)'
$ gvm_latest
Installing go1.21.1...
Is there a way to just install whatever is the latest stable version of Go? For example, NVM (Node Version Manager) has
nvm install node
to install the latest version ornvm install --lts
to install the lts version. Would be nice if this has the same too