環境構築

Managing Go Language Versions Using gvm

In Go language and programming languages in general, there are often cases where you need to install multiple versions side by side to match compatibility with the libraries, frameworks, and dependencies you use. What can help in such cases are tools called 'version management tools' or 'version managers,' and for Go language, that would be 'gvm'.

Shou Arisaka
1 min read
Nov 1, 2025

In Go language and programming languages in general, there are often cases where you need to install multiple versions side by side to match compatibility with the libraries, frameworks, and dependencies you use. What can help in such cases are tools called “version management tools” or “version managers,” and for Go language, that would be “gvm”.

Image

moovweb/gvm: Go Version Manager

Installation

sudo apt update ; sudo apt-get install curl git mercurial make binutils bison gcc build-essential

bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)

source ${HOME}/.gvm/scripts/gvm

Usage Example

gvm install go1.12.9
gvm use go1.12.9 

Verification

$ go version
go version go1.12.9 linux/amd64

Share this article

Shou Arisaka Nov 1, 2025

🔗 Copy Links