Notices: This section not yet converted to new layout. Download stats are rolling back out.



Package test results are passing.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved as a trusted package on 12/9/2017.

Grails is an Open Source, full stack, web application framework for the JVM. It takes advantage of the Groovy programming language and convention over configuration to provide a productive and stream-lined development experience.
This package assumes that the Java JDK has already been installed and that the JAVA_HOME machine environment variable is pointing to installed JDK. I do not reference JDK Chocolatey package here to stay flexible.
The specific Grails version will be installed to folder defined by %chocolatey_bin_root% environment variable. After installing, this package will set the GRAILS_HOME environment variable and will add the GRAILS_HOME\bin folder to the machine PATH.

To install Grails, run the following command from the command line or from PowerShell:

C:\> choco install grails

To upgrade Grails, run the following command from the command line or from PowerShell:

C:\> choco upgrade grails


  • tools\chocolateyBeforeModify.ps1 Show
    $packageName    = $env:chocolateyPackageName
    $packageVersion = $env:chocolateyPackageVersion
    $toolsDir = Get-ToolsLocation
    $grails_home = Join-Path $toolsDir "$packageName-$packageVersion"
    Remove-Item $grails_home -Recurse -Force
  • tools\chocolateyInstall.ps1 Show
    $packageName = 'grails'
    $packageVersion = $env:chocolateyPackageVersion
    $checksum = 'ED6FBA70645D7EAD04D8CA48E297B19EC697A24A98030E88DF1DE5F709C22167'
    $url = "$packageVersion/grails-$"
    $toolsDir = Get-ToolsLocation
    $grails_home = Join-Path $toolsDir "$packageName-$packageVersion"
    Install-ChocolateyZipPackage `
    	-PackageName $packageName `
    	-Url $url `
    	-UnzipLocation $toolsDir `
    	-Checksum $checksum `
    	-ChecksumType 'sha256'
    Install-ChocolateyEnvironmentVariable -VariableName "GRAILS_HOME" -VariableValue $grails_home -VariableType 'Machine'
    Install-ChocolateyPath -PathToInstall "$grails_home\bin" -PathType 'Machine'
  • tools\chocolateyUninstall.ps1 Show
    $packageName = 'grails'
    $packageVersion = $env:chocolateyPackageVersion
    $toolsDir = Get-ToolsLocation
    $grails_home = Join-Path $toolsDir "$packageName-$packageVersion"
    Install-ChocolateyEnvironmentVariable -VariableName "GRAILS_HOME" -VariableValue $null -VariableType 'Machine'
    Remove-Item $grails_home -Recurse -Force
    "Please manually remove Grails (%GRAILS_HOME\bin) from the PATH environment variable."

Virus Scan Results

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.


This package has no dependencies.

Package Maintainer(s)

Software Author(s)

  • Graeme Rocher


2009-2017 SpringSource


Release Notes

Upgraded to Grails 3.3.2

Version History

Version Downloads Last updated Status
Grails 3.3.1 133 Sunday, October 15, 2017 approved
Grails 3.3.0 177 Saturday, July 29, 2017 approved
Grails 3.2.9 191 Thursday, May 4, 2017 approved
Grails 3.2.8 149 Friday, March 24, 2017 approved
Grails 3.2.7 88 Tuesday, March 14, 2017 approved
Grails 3.2.6 97 Tuesday, February 21, 2017 approved
Grails 3.2.5 108 Saturday, February 4, 2017 approved
Grails 3.2.4 354 Thursday, December 22, 2016 approved
Grails 3.2.3 173 Saturday, November 26, 2016 approved
Show More

Discussion for the Grails Package

Ground rules:

  • This discussion is only about Grails and the Grails package. If you have feedback for Chocolatey, please contact the google group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Grails, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.

comments powered by Disqus uses cookies to enhance the user experience of the site.