Skip to content
Go Version Manager http://github.com/moovweb/gvm
Shell Ruby
Find file
Pull request Compare This branch is 8 commits ahead, 248 commits behind master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bin
binscripts
config
scripts
tests
.gitignore
CHANGELOG
README.md
VERSION

README.md

gvm

GVM provides an interface to manage Go versions.

Installing

To install the stable release run:

bash -s stable < <(curl -s https://raw.github.com/moovweb/gvm/master/binscripts/gvm-installer)

To install the development branch (NOT USUALLY RECOMMENDED!) run:

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

Protect Your GO!

sudo chown -R root:root ~/.gvm/gos/

This will keep libraries from accidentally installing into the main Go soure tree

Installing Go

gvm install 60.3
gvm use 60.3

Once this is done Go will be in the path and ready to use. $GOROOT is set automatically.

List Go Versions

To list all installed Go versions (The current version is prefixed with "=>"):

gvm list

Uninstalling

To completely remove gvm and all installed Go versions and packages:

gvm implode

Mac OSX Requirements

Install mercurial from http://mercurial.berkwood.com/

Linux Requirements

sudo apt-get install curl
sudo apt-get install git
sudo apt-get install mercurial
sudo apt-get install make
sudo apt-get install binutils
sudo apt-get install bison
sudo apt-get install gcc
Something went wrong with that request. Please try again.