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

It seems that I have to type gvm use grails x.y.z

and gvm use groovy x.y.z

every time I restart my computer. Is there a way to configure the GVM to install versions on startup?

+3


source to share


1 answer


Yes, let's say gvm default grails 2.4.4

for example

From using / help on the command line:



default   or d    <candidate> [version]

      

+5


source







All Articles