# gvm **Repository Path**: mirrors_watson/gvm ## Basic Information - **Project Name**: gvm - **Description**: Go Version Manager (written in Go for cross-platform usability) - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-26 - **Last Updated**: 2026-05-31 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README gvm === gvm is a Go version manager. gvm installs a Go version and prints the commands to configure your environment to use it. gvm can only install binary versions of Go from https://golang.org/dl/. Below are examples for common shells. bash: `eval "$(gvm 1.9.2)"` batch (windows cmd.exe): `FOR /f "tokens=*" %i IN ('"gvm.exe" 1.9.2') DO %i` powershell: `gvm --format=powershell 1.9.2 | Invoke-Expression` Installation ------------ You can download a binary release of `gvm` for your specific platform from the [releases](https://github.com/andrewkroh/gvm/releases) page. Then just put the binary in your `PATH` and mark it as executable (`chmod +x gvm`). You must adjust the version and platform info in URLs accordingly. Linux: ``` bash # Linux Example (assumes ~/bin is in PATH). curl -sL -o ~/bin/gvm https://github.com/andrewkroh/gvm/releases/download/v0.0.5/gvm-linux-amd64 chmod +x ~/bin/gvm eval "$(gvm 1.9.2)" go version ``` macOS: ``` bash # macOS Example (assumes ~/bin is in PATH). curl -sL -o ~/bin/gvm https://github.com/andrewkroh/gvm/releases/download/v0.0.5/gvm-darwin-amd64 chmod +x ~/bin/gvm eval "$(gvm 1.9.2)" go version ``` Windows (Powershell): ``` Invoke-WebRequest -URI https://github.com/andrewkroh/gvm/releases/download/v0.0.5/gvm-windows-amd64.exe -Outfile C:\Windows\System32\gvm.exe gvm --format=powershell 1.9.2 | Invoke-Expression go version ``` For existing Go users: `go get -u github.com/andrewkroh/gvm`