Golang Virtual Manager
To install or update gvm, you should run the installation script. To do that, you may either download and run the script manually, or use the following cURL or Wget command:
curl -o- https://raw.githubusercontent.com/osspkg/gvm/master/install.sh | bash
gvm install <version> # only install version
gvm default <version> # set global version and install
gvm local <version> # set local version, generate `.gvmrc` and install
gvm update # install last GVM version
To configure the Go version for the current project, specify the desired version in the file. Example:
1.22.0