Search code examples
grailsgroovygvm

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


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?


Solution

  • Yes, say gvm default grails 2.4.4 for example

    From the usage/help on command line:

    default   or d    <candidate> [version]