Alexander Suraphel
Alexander Suraphel

Reputation: 10613

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?

Upvotes: 3

Views: 1728

Answers (1)

sparkyspider
sparkyspider

Reputation: 13519

Yes, say gvm default grails 2.4.4 for example

From the usage/help on command line:

default   or d    <candidate> [version]

Upvotes: 5

Related Questions