When I try to run this command to install Groovy using GVM I get this error message:
$gvm install groovy
Stop! groovy is not a valid candidate.
Why doesn't this work? As far as I know I installed GVM correctly using this:
$ curl -s get.gvmtool.net | bash
I am on a Mac
Here is what I see when I run gvm help
:
$ gvm help
Usage: gvm <command> <candidate> [version]
gvm offline <enable|disable>
commands:
install or i <candidate> [version]
uninstall or rm <candidate> <version>
list or ls <candidate>
use or u <candidate> [version]
default or d <candidate> [version]
current or c [candidate]
outdated or o [candidate]
version or v
broadcast or b
help or h
offline <enable|disable>
selfupdate [force]
flush <candidates|broadcast|archives|temp>
candidate :
version : where optional, defaults to latest stable if not provided
eg: gvm install groovy
gvm help
successfully? – Martellagvm
installation? Behind a proxy? Can you hit api.gvmtool.net, like api.gvmtool.net/candidates? – Martellagvm
is its own tool, with its own directory ($HOME/.gvm
), etc. I'd probably blow away that directory and try again as a sanity check. – Martellagvm current
and give us the output please – Lawley