I just installed gvm
with go1.3
, but when I try to go version
I have The program 'go' is currently not installed
message. How to fix this?
Asked
Active
Viewed 1,757 times
2 Answers
0
Check your $PATH
environment variable once you have used gvm (gvm install
or gvm use
).
It should include the bin/
folder of your go
installation folder.
For instance: /usr/lib/go/bin
Issue 187 reports:
Currently
GVM
assumes it is in sole charge of the*_HOME
andPATH
environment variables and puts it's paths first.
Since the default is to execute theGVM
initialization last this overwrites any settings the user may have set up, in my caseGROOVY_HOME
andPATH
are set as I need them then GVM overwrites the settings.Thus currently
GVM
does not "play nice" with a sophisticated users' set up.

VonC
- 1,262,500
- 529
- 4,410
- 5,250
-
this is for `grails`, but I need `go` – cnaize Jun 19 '14 at 10:20
-
@cnaize I understand. First, make sure go is in your $PATH, and the command is working. Then try gvm, and see if it still work. – VonC Jun 19 '14 at 10:45