Skip to content

Latest commit

 

History

History
55 lines (35 loc) · 978 Bytes

README.md

File metadata and controls

55 lines (35 loc) · 978 Bytes

Golang Version Manager

Inspired by NVM, a Golang version management toy, created by some dummy programmer dude :)

Installation

Using cURL:

curl -o- https://raw.githubusercontent.com/sintan1071/govm/master/.install.sh | bash

or Wget:

wget -qO- https://raw.githubusercontent.com/sintan1071/govm/master/.install.sh | bash

After installation, you should reopen your terminal window or you can just run such a command:

find ~ -maxdepth 1 -name .\*rc   

this command will show you the "your-sh-rc", then you can run the following command

source your-sh-rc

Usage

install

govm install 1.12.4

this command will install golang version 1.12.4

list

govm list

this command will show you the golang version you already installed

use

govm use 1.11.5

this commad will change the $GOROOT and your golang version to the version you inputed