gvm

gvm

A simple Go Version Management Tool with zero dependencies

Get Started View on GitHub

gvm logo


Go Report Card GitHub go.mod Go version GitHub release GoDoc GitHub license

Quick Start

Installing

curl -sL https://raw.githubusercontent.com/lokesh-balla/gvm/main/install.sh | sh

Installation GIF

Basic Usage

Once installed, you can use gvm to manage Go versions:

# List available Go versions
gvm list

# Install a specific version
gvm install 1.21.0

# Use a specific version
gvm use 1.21.0

# Uninstall a version
gvm uninstall 1.21.0

Available Commands

gvm provides the following commands:

For detailed information about each command, visit the commands section.

Getting Help

You can get help for any command using:

gvm --help
gvm [command] --help

Compiling From Source

Prerequisites

Compiling

git clone https://github.com/lokesh-balla/gvm.git && cd gvm
go build -o gvm main.go

Uninstall

To uninstall gvm, run the following command:

```bash rm -rf ~/.gvm