0

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?

Burt Beckwith
  • 75,342
  • 5
  • 143
  • 156
Merhawi Fissehaye
  • 2,482
  • 2
  • 25
  • 39

1 Answers1

0

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>
cfrick
  • 35,203
  • 6
  • 56
  • 68