gvm

Simple Go Version Manager

View project on GitHub

Introduction

GVM is a version manager for Golang, it is easy to use and compatible with all platforms and architecture (provided that there is a version of Golang compatible with your system and architecture).

Install

For macOS (Homebrew)

brew install tfournier/tap/gvm

For linux (Snapcraft)

Installer à partir du Snap Store

snap install gvm

For windows (Scoop)

scoop bucket add tfournier https://github.com/tfournier/scoop-bucket.git
scoop install tfournier/gvm

Manually

Go to releases page

Check installed

gvm

Configure

In your shell configuration (example for ZSH: ~/.zshrc)

echo 'eval $(gvm config show)' >> ~/.zshrc

Quick Start

Install Go version

You can check the versions available on Golang’s official website

gvm install 1.12.3

Check installed versions

gvm list

And use the previously installed version

gvm use 1.12.3

Remove specific version

gvm remove 1.12.3

Usage

Full detailed commands