I just installed groovy with gvm
gvm install groovy
and then restarted the terminal I had a grails installation before that using gvm and I get the grails version when I issue the command
gvm current
Now I can't run groovy or groovyconsole from terminal. What am I missing?
You have not set current
(should get asked on installation). Check what version is installed (gvm ls groovy
). Installed versions have *
set. The current is marked with an >
. Set the current manually:
gvm d groovy <version>