In this download area, you will be able to download the distribution (binary and source), the Windows installer (for some of the versions) and the documentation for Groovy.
For a quick and effortless start on Mac OSX, Linux or Cygwin, you can use SDKMAN! (The Software Development Kit Manager) to download and configure any Groovy version of your choice. Basic instructions can be found below. Windows users can use Posh-GVM (POwerSHell Groovy enVironment Manager), a PowerShell clone of the GVM CLI.
Distributions
You can download a binary, a source or a documentation bundle, as well as a bundle of all three.
Groovy 2.4
Groovy 2.4 is the latest version of Groovy. Important: Releases before 2.4.4 weren't done under the Apache Software Foundation and are provided as a convenience, without any warranty.
This tool makes installing Groovy on any Bash platform (Mac OSX, Linux, Cygwin, Solaris or FreeBSD) very easy. Simply open a new terminal and enter:
$ curl -s get.sdkman.io | bash
Follow the instructions on-screen to complete installation. Open a new terminal or type the command:
$ source "$HOME/.sdkman/bin/sdkman-init.sh"
Then install the latest stable Groovy:
$ sdk install groovy
After installation is complete and you've made it your default version, test it with:
$ groovy -version
That's all there is to it!
From your build tools
If you wish to add Groovy as a dependency in your projects, you can refer to the Groovy JARs in the dependency section of your project build file descriptor:
The core plus all the modules. Also includes jarjar'ed versions of Antlr, ASM, Commons-CLI.
Optional dependencies are marked as optional.
You may need to include some of the optional dependencies to use some features of Groovy, e.g. AntBuilder, GroovyMBeans...
If you're on MacOS and have Homebrew installed, you can install Groovy with:
brew install groovy
If you're on MacOS and have MacPorts installed, you can install Groovy with:
sudo port install groovy
If you prefer to live on the bleeding edge, you can also grab the source code from GitHub. If you are an IDE user, you can just grab the latest IDE plugin and follow the plugin installation instructions.
System requirements
Groovy
JVM Required (non-indy)
JVM Required (indy) *
2.3 - current
1.6+
1.7+
2.0 - 2.2
1.5+
1.7+
1.6 - 1.8
1.5+
N/A
1.0 - 1.5
1.4+
N/A
* If you plan to use invoke dynamic support, please read the support information.