gvm: ERROR: Unrecognized Go version

I have installed gvm using:

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

After restarting my terminal I try to use:

gvm install go1.4

and get the following output:

Downloading Go source...
Updating Go source...
ERROR: Unrecognized Go version

GVM is v1.0.22. I have mercurial installed on my system as well as xcode dev-tools

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 17 (3 by maintainers)

Commits related to this issue

Most upvoted comments

Specifying the default version should help

gvm use go1.7.4 --default

gvm install go1.4.2 gvm use go1.4.2

it’s works for me

FYI, this just happened to me. After a little digging around I did

cd ~/.gvm/archive/go
git pull --tags

Then after tags were pulled in, gvm install go1.9.3 worked.

Not sure if this is still an issue but I plan on looking into it.

Still doesn’t work for me =/

$ gvm install 1.4  
Updating Go source...
ERROR: Unrecognized Go version
$ gvm install go1.4.2
Installing go1.4.2...
 * Compiling...
/root/.gvm/scripts/install: line 84: go: command not found
ERROR: Failed to compile. Check the logs at /root/.gvm/logs/go-go1.4.2-compile.log
ERROR: Failed to use installed version

I was testing this inside a debian container before comitting to install in my system…