Install Grails from Git on Windows

  • 0

Install Grails from Git on Windows

Category : How-to

Get Social!

grails-core-gradlew.bat-installGood news: installing Grails from source is easy-peasey on Windows! Before you get started, you’ll need to have git and a JDK installed.

You can download both git and the JDK from the following locations:

Once these are both installed, set the JAVA_HOME variable from a command prompt. You’ll need to locate the exact java version which is in your Program Files\Java folder as it changes with each version.

Move to the folder where you would like to deploy Grails.

And run the git clone command to start downloading the source.

Move into the folder which was created with the git clone command.

Finally run the install command which will download any further dependencies and compile the application.

And that’s it! I told you it was easy.