Is there a way to set default Groovy and Grails versions in GVM?

1.6k Views Asked by At

It appears that I have to type gvm use grails x.y.z and gvm use groovy x.y.z every time I reboot my PC. Is there a way to configure GVM to do set the versions on startup?

1

There are 1 best solutions below

2
On BEST ANSWER

Yes, say gvm default grails 2.4.4 for example

From the usage/help on command line:

default   or d    <candidate> [version]