Improve this doc
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.
All downloads (except the source download) are hosted in
Bintray's Groovy repository. Registering on Bintray allows you to rate, review, and register for new version notifications. [direct link to the downloads]
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.5 is the upcoming
version of Groovy. Pre-release versions are available: 2.5.0-alpha-1 distributions
Please consult the
change log for details. Please read the invoke dynamic support information if you like to use Groovy on JDK 7+. Groovy 2.4
Groovy 2.4 is the latest stable
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. 2.4.11 distributions
Please consult the
change log for details. Please read the invoke dynamic support information if you like to use Groovy on JDK 7+. Changelog
You can also read the changelogs for
other versions. SDKMAN! (The Software Development Kit Manager)
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:
Gradle Maven Explanation
Just the core of Groovy without the modules (see below). Also includes jarjar'ed versions of Antlr, ASM, and Commons-CLI.
"$module" stands for the different optional groovy modules "ant", "bsf", "console", "docgenerator", "groovydoc", "groovysh", "jmx", "json", "jsr223", "nio", "servlet", "sql", "swing", "test", "templates", "testng" and "xml".
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... Maven repositories
Groovy releases are downloadable from
Maven Central or JCenter.
Groovy snapshots are downloadable from
JFrog OpenSource Snapshots repository. Other ways to get Groovy
If you're on MacOS and have
Homebrew installed, you can install Groovy with: If you're on MacOS and have
brew install groovy
MacPorts installed, you can install Groovy with: If you're using Docker, Groovy is available on
sudo port install groovy
Docker Hub. 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
* If you plan to use invoke dynamic support, please read the
Groovy JVM Required (non-indy) JVM Required (indy) * 2.5 - current 1.7+ 1.7+ 2.3 - 2.4 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 support information.