Skip to content
Skip to breadcrumbs
Skip to header menu
Skip to action menu
Skip to quick search
Quick Search
Browse
Pages
Blog
Labels
Attachments
Mail
Advanced
What’s New
Space Directory
Feed Builder
Keyboard Shortcuts
Confluence Gadgets
Log In
Sign Up
Dashboard
Groovy
Copy Page
You are not logged in. Any changes you make will be marked as
anonymous
. You may want to
Log In
if you already have an account. You can also
Sign Up
for a new account.
This page is being edited by
.
Paragraph
Paragraph
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Preformatted
Quote
Bold
Italic
Underline
More colours
Strikethrough
Subscript
Superscript
Monospace
Clear Formatting
Bullet list
Numbered list
Outdent
Indent
Align left
Align center
Align right
Link
Table
Insert
Insert Content
Image
Link
Attachment
Symbol
Emoticon
Wiki Markup
Horizontal rule
tinymce.confluence.insert_menu.macro_desc
Info
JIRA Issue
Status
Gallery
Tasklist
Table of Contents
Other Macros
Page Layout
No Layout
Two column (simple)
Two column (simple, left sidebar)
Two column (simple, right sidebar)
Three column (simple)
Two column
Two column (left sidebar)
Two column (right sidebar)
Three column
Three column (left and right sidebars)
Undo
Redo
Find/Replace
Keyboard Shortcuts Help
<p>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.</p><p>For a quick and effortless start on Mac OSX, Linux or Cygwin, you can use <a href="http://gvmtool.net">GVM</a> (the Groovy enVironment Manager) to download and configure any Groovy version of your choice. Basic <a class="confluence-link" href="#GVMtheGroovyenVironmentManager" data-anchor="GVMtheGroovyenVironmentManager" data-linked-resource-default-alias="GVMtheGroovyenVironmentManager" data-base-url="http://docs.codehaus.org">instructions</a> can be found below.</p><h2><span style="font-size: 16.0pt;line-height: normal;">Groovy</span><span style="font-size: 16.0pt;line-height: normal;"> 2.</span><span style="font-size: 16.0pt;line-height: normal;">1</span></h2><p class="confluence-link">Groovy 2 is the latest official major <span class="confluence-link"><a class="confluence-link" href="/display/GROOVY/Version+Scheme" data-linked-resource-id="230398742" data-linked-resource-type="page" data-linked-resource-default-alias="Version Scheme" data-base-url="http://docs.codehaus.org">version of Groovy</a></span>.</p><p>Learn more about Groovy 2.1 in the <a class="confluence-link" href="/display/GROOVY/Groovy+2.1+release+notes" data-linked-resource-id="230396895" data-linked-resource-type="page" data-linked-resource-default-alias="Groovy 2.1 release notes" data-base-url="http://docs.codehaus.org">release notes</a>.</p><h3>Groovy 2.1.3</h3><p style="margin-left: 30.0px;"><strong>Download zip</strong>: <strong><a href="http://dist.groovy.codehaus.org/distributions/groovy-binary-2.1.3.zip">Binary Release</a></strong> | <a href="http://dist.groovy.codehaus.org/distributions/groovy-src-2.1.3.zip">Source Release</a><strong><strong><strong><strong><strong><strong><br /></strong></strong></strong></strong></strong><strong><strong><strong><strong><strong><strong><strong><strong>Download Windows-Installer: </strong></strong><a href="http://dist.codehaus.org/groovy/distributions/installers/windows/nsis/groovy-2.1.3-installer.exe">Binary Release</a> <a href="http://dist.codehaus.org/groovy/distributions/installers/windows/nsis/installed_versions_2.1.3.txt">(Module Versions)</a><strong><strong><br /></strong></strong></strong></strong></strong></strong></strong></strong>Download documentation</strong>: <a href="http://dist.groovy.codehaus.org/distributions/groovy-docs-2.1.3.zip">JavaDoc and zipped online documentation</a><br /><strong>Combined binary / source / documentation bundle:</strong> <a href="http://dist.groovy.codehaus.org/distributions/groovy-sdk-2.1.3.zip">Distribution bundle</a></p><p>You can have a look at the <a href="http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=10242&version=19156">JIRA release notes</a>.</p><p>If you plan on using invokedynamic support, <a class="confluence-link" href="/display/GROOVY/InvokeDynamic+support" data-linked-resource-id="230398416" data-linked-resource-type="page" data-linked-resource-default-alias="InvokeDynamic support" data-base-url="http://docs.codehaus.org">read those notes</a>.</p><h3>Groovy 2.1.2</h3><p style="margin-left: 30.0px;"><strong>Download zip</strong>: <strong><a href="http://dist.groovy.codehaus.org/distributions/groovy-binary-2.1.2.zip">Binary Release</a></strong> | <a href="http://dist.groovy.codehaus.org/distributions/groovy-src-2.1.2.zip">Source Release</a><strong><strong><strong><strong><strong><strong><br /></strong></strong></strong></strong></strong><strong><strong><strong><strong><strong><strong><strong>Download Windows-Installer: </strong></strong><a href="http://dist.codehaus.org/groovy/distributions/installers/windows/nsis/groovy-2.1.2-installer.exe">Binary Release</a> <a href="http://dist.codehaus.org/groovy/distributions/installers/windows/nsis/installed_versions_2.1.2.txt">(Module Versions)</a><strong><strong><br /></strong></strong></strong></strong></strong></strong></strong>Download documentation</strong>: <a href="http://dist.groovy.codehaus.org/distributions/groovy-docs-2.1.2.zip">JavaDoc and zipped online documentation</a><br /><strong>Combined binary / source / documentation bundle:</strong> <a href="http://dist.groovy.codehaus.org/distributions/groovy-sdk-2.1.2.zip">Distribution bundle</a></p><p>You can have a look at the <a href="http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=10242&version=19100">JIRA release notes</a>.</p><p>If you plan on using invokedynamic support, <a class="confluence-link" href="/display/GROOVY/InvokeDynamic+support" data-linked-resource-id="230398416" data-linked-resource-type="page" data-linked-resource-default-alias="InvokeDynamic support" data-base-url="http://docs.codehaus.org">read those notes</a>.</p><h2><span style="font-size: 16.0pt;">Groovy 2.0</span></h2><p>Groovy 2.0 is the <span class="confluence-link"><a class="confluence-link" href="/display/GROOVY/Version+Scheme" data-linked-resource-id="230398742" data-linked-resource-type="page" data-linked-resource-default-alias="Version Scheme" data-base-url="http://docs.codehaus.org">minor version</a></span> before Groovy 2.1.</p><p>Learn more about Groovy 2.0 in the <a class="confluence-link" href="/display/GROOVY/Groovy+2.0+release+notes" data-linked-resource-id="198049811" data-linked-resource-type="page" data-linked-resource-default-alias="Groovy 2.0 release notes" data-base-url="http://docs.codehaus.org">release notes</a>.</p><h3>Groovy 2.0.8</h3><p style="margin-left: 30.0px;"><strong>Download zip</strong>: <strong><a href="http://dist.groovy.codehaus.org/distributions/groovy-binary-2.0.8.zip">Binary Release</a></strong> | <a href="http://dist.groovy.codehaus.org/distributions/groovy-src-2.0.8.zip">Source Release</a><strong><strong><strong><strong><strong><br /></strong></strong></strong></strong>Download documentation</strong>: <a href="http://dist.groovy.codehaus.org/distributions/groovy-docs-2.0.8.zip">JavaDoc and zipped online documentation<br /></a><strong>Combined binary / source / documentation bundle:</strong><span> </span><a href="http://dist.groovy.codehaus.org/distributions/groovy-sdk-2.0.8.zip">Distribution bundle</a></p><p>You can have a look at the <a href="http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=10242&version=19099">JIRA release notes</a>.</p><p>If you plan on using invokedynamic support, <a class="confluence-link" href="/display/GROOVY/InvokeDynamic+support" data-linked-resource-id="230398416" data-linked-resource-type="page" data-linked-resource-default-alias="InvokeDynamic support" data-base-url="http://docs.codehaus.org">read those notes</a>.</p><h2>Groovy 1.8 (Maintenance Release)</h2><p>Groovy 1.8 is the latest maintenance release branch of the Groovy 1 major version.</p><p>Learn more about the Groovy 1.8 in the <a class="confluence-link" href="/display/GROOVY/Groovy+1.8+release+notes" data-linked-resource-id="186712643" data-linked-resource-type="page" data-linked-resource-default-alias="Groovy 1.8 release notes" data-base-url="http://docs.codehaus.org">release notes</a>.</p><h3>Groovy 1.8.9</h3><p style="margin-left: 30.0px;"><strong>Download zip</strong>: <strong><a href="http://dist.groovy.codehaus.org/distributions/groovy-binary-1.8.9.zip">Binary Release</a></strong> | <a href="http://dist.groovy.codehaus.org/distributions/groovy-src-1.8.9.zip">Source Release</a><strong><a href="http://dist.codehaus.org/groovy/distributions/installers/windows/nsis/installed_versions_1.8.6.txt"><br /></a>Download documentation</strong>: <a href="http://dist.groovy.codehaus.org/distributions/groovy-docs-1.8.9.zip">JavaDoc and zipped online documentation</a></p><p>You can have a look at the <a href="http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=10242&version=18778">JIRA release notes</a>.</p><h1>Snapshots</h1><p>For those who want to test the very latest versions of Groovy and live on the bleeding edge, you can use our <a href="http://snapshots.repository.codehaus.org/org/codehaus/groovy/groovy-all/">snapshot builds</a>. As soon as a build succeeds on our continuous integration server a snapshot is deployed to Codehaus' snapshot repository.</p><h1>Older Releases</h1><p>All maintenance of the Groovy 1.5.X, 1.6.X and 1.7.X series has now stopped. These are the last released versions.</p><h2><span style="font-size: 14.0pt;">Groovy 1.7.11</span></h2><p style="margin-left: 30.0px;"><strong>Download zip</strong>: <strong><a href="http://dist.groovy.codehaus.org/distributions/groovy-binary-1.7.11.zip">Binary Release</a></strong> | <a href="http://dist.groovy.codehaus.org/distributions/groovy-src-1.7.11.zip">Source Release<br /></a><strong style="font-size: 10.0pt;line-height: 13.0pt;">Download documentation</strong><span style="font-size: 10.0pt;line-height: 13.0pt;">: </span><a href="http://dist.groovy.codehaus.org/distributions/groovy-docs-1.7.11.zip" style="font-size: 10.0pt;line-height: 13.0pt;">JavaDoc and zipped online documentation</a></p><p>You can have a look at the <a href="https://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=10242&version=17244">JIRA release notes</a>.</p><h3>Groovy 1.6.9</h3><p style="margin-left: 30.0px;"><strong>Download zip</strong>: <strong><a href="http://dist.groovy.codehaus.org/distributions/groovy-binary-1.6.9.zip">Binary Release</a> </strong>(<a href="http://dist.groovy.codehaus.org/distributions/groovy-binary-jdk14-1.6.9.zip">JDK 1.4 version</a>) | <a href="http://dist.groovy.codehaus.org/distributions/groovy-src-1.6.9.zip">Source Release<br /></a><strong style="font-size: 10.0pt;line-height: 13.0pt;">Download documentation</strong><span style="font-size: 10.0pt;line-height: 13.0pt;">: </span><a href="http://dist.groovy.codehaus.org/distributions/groovy-docs-1.6.9.zip" style="font-size: 10.0pt;line-height: 13.0pt;">JavaDoc and zipped online documentation</a></p><p>You can have a look at the <a href="http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=10242&version=16236">JIRA release notes</a>.</p><h3>Groovy 1.5.8</h3><p style="margin-left: 30.0px;"><strong>Download zip</strong>: <strong><a href="http://dist.groovy.codehaus.org/distributions/groovy-binary-1.5.8.zip">Binary Release</a></strong> | <a href="http://dist.groovy.codehaus.org/distributions/groovy-src-1.5.8.zip">Source Release</a><br /> <strong>Download Windows-Installer</strong>: <a href="http://dist.codehaus.org/groovy/distributions/installers/windows/nsis/groovy-1.5.8-installer.exe">Binary Release</a><br /> <strong>Download unofficial Fedora/RHEL/CentOS package:</strong> <a href="http://dist.groovy.codehaus.org/distributions/rpm/groovy-1.5.8-1.noarch.rpm">Binary Release</a> | <a href="http://dist.groovy.codehaus.org/distributions/rpm/groovy-1.5.8-1.src.rpm">Source Release<br /></a><strong style="font-size: 10.0pt;line-height: 13.0pt;">Download documentation</strong><span style="font-size: 10.0pt;line-height: 13.0pt;">: </span><a href="http://dist.groovy.codehaus.org/distributions/groovy-docs-1.5.8.zip" style="font-size: 10.0pt;line-height: 13.0pt;">JavaDoc and zipped online documentation</a></p><p>The release notes are <a href="http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=10242&version=14630">Release Notes</a>.</p><h2>Legacy Groovy 1.0</h2><p>If you still need to use the old Groovy 1.0, here are the links you may be interested in:</p><p style="margin-left: 30.0px;"><strong>Download zip</strong>: <strong><a href="http://dist.codehaus.org/groovy/distributions/groovy-1.0.zip">Binary Release</a></strong> | <a href="http://dist.codehaus.org/groovy/distributions/groovy-1.0-src.zip">Source Release</a><br /> <strong>Download unofficial Ubuntu/Debian package</strong>: <a href="http://dist.codehaus.org/groovy/distributions/installers/deb/groovy-1.0.deb">Binary Release</a><br /> <strong>Download Windows-Installer</strong>: <a href="http://dist.codehaus.org/groovy/distributions/installers/windows/nsis/groovy1.0-installer.exe">Binary Release</a><br /> <strong>Download tar/gz</strong>: <a href="http://dist.codehaus.org/groovy/distributions/groovy-1.0.tar.gz">Binary Release</a> | <a href="http://dist.codehaus.org/groovy/distributions/groovy-1.0-src.tar.gz">Source Release</a><br /> <strong>Download Javadoc</strong>: <a href="http://dist.groovy.codehaus.org/distributions/groovy-docs-1.1-BETA-1.zip">Javadoc zip</a></p><p><a href="http://dist.groovy.codehaus.org/distributions/groovy-docs-1.1-BETA-1.zip"><span style="font-size: 10.0pt;line-height: 13.0pt;">Once you've downloaded the distribution, please read the </span></a><a class="confluence-link" href="/display/GROOVY/Installing+Groovy" data-linked-resource-id="2754" data-linked-resource-type="page" data-linked-resource-default-alias="Installing Groovy" data-base-url="http://docs.codehaus.org">installation instructions</a><a href="http://dist.groovy.codehaus.org/distributions/groovy-docs-1.1-BETA-1.zip"><span style="font-size: 10.0pt;line-height: 13.0pt;">.</span></a></p><p>Other versions can be found in the <a href="http://dist.groovy.codehaus.org/distributions">distributions archive</a>.</p><h1>Maven Repositories</h1><p>If you wish to embed Groovy in your application, you may just prefer to point to your favourite maven repositories or the <a href="http://repository.codehaus.org/org/codehaus/groovy">codehaus maven repository</a>. You should consult the individual pom files for the exact details but here is a summary of the main supported artifactIds and groupIds:</p><h2>Groovy 2.0.X and newer</h2><table class="confluenceTable"><tbody><tr><th class="confluenceTh">Gradle</th><th class="confluenceTh">Maven</th><th class="confluenceTh">Explanation</th></tr><tr><td class="confluenceTd"><p class="prettyprint"><span class="str">'org.codehaus.groovy:groovy:x.y.z'</span></p></td><td class="confluenceTd"><p><groupId>org.codehaus.groovy</groupId> <br class="atl-forced-newline" /> <artifactId>groovy</artifactId> <br class="atl-forced-newline" /> <version>x.y.z</version></p></td><td class="confluenceTd">Just the core of groovy without the modules (see below). Treats Antlr, ASM, etc. as standard dependencies. Only useful if you happen to also use the same versions of these jars yourself as it will save you having two copies of these jars.</td></tr><tr><td class="confluenceTd"><span class="str">'org.codehaus.groovy:groovy-$module:x.y.z'<span class="str"> </span></span></td><td class="confluenceTd"><p><groupId>org.codehaus.groovy</groupId> <br class="atl-forced-newline" /> <artifactId>groovy-$module</artifactId> <br class="atl-forced-newline" /> <version>x.y.z</version></p></td><td class="confluenceTd">"$module" stands for the different optional groovy modules "ant", "bsf", "console", "docgenerator", "groovydoc", "groovysh", "jmx", "json", "jsr223", "servlet", "sql", "swing", "test", "testng" and "xml". Example: <artifactId>groovy-sql</artifactId></td></tr><tr><td class="confluenceTd"><p>'org.codehaus.groovy:groovy-all:x.y.z'</p></td><td class="confluenceTd"><p><groupId>org.codehaus.groovy</groupId> <br class="atl-forced-newline" /> <artifactId>groovy-all</artifactId> <br class="atl-forced-newline" /> <version>x.y.z</version></p></td><td class="confluenceTd">The core plus all the modules. Also includes jarjar versions of Antlr, ASM, Commons-CLI and Retrotranslator runtime. Allows you or your other dependencies (e.g. Hibernate) to use other versions of these jars. 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, etc.</td></tr></tbody></table><p>To use the <a href="http://groovy.codehaus.org/InvokeDynamic+support">InvokeDynamic</a> version of the jars just append ':indy' for Gradle or <classifier>indy</classifier> for Maven.</p><h2>Groovy 1.6.X - 1.8.X</h2><table class="confluenceTable"><tbody><tr><th class="confluenceTh">Gradle</th><th class="confluenceTh">Maven</th><th class="confluenceTh">Explanation</th></tr><tr><td class="confluenceTd"><p>'org.codehaus.groovy:groovy:x.y.z'</p></td><td class="confluenceTd"><p><groupId>org.codehaus.groovy</groupId> <br class="atl-forced-newline" /> <artifactId>groovy</artifactId> <br class="atl-forced-newline" /> <version>x.y.z</version></p></td><td class="confluenceTd">Treats Antlr, ASM, etc. as standard dependencies. Only useful if you happen to also use the same versions of these jars yourself as it will save you having two copies of these jars. 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, etc.</td></tr><tr><td class="confluenceTd">'org.codehaus.groovy:groovy-all:x.y.z'</td><td class="confluenceTd"><p><groupId>org.codehaus.groovy</groupId> <br class="atl-forced-newline" /> <artifactId>groovy-all</artifactId> <br class="atl-forced-newline" /> <version>x.y.z</version></p></td><td class="confluenceTd">Includes jarjar versions of Antlr, ASM, Commons-CLI and Retrotranslator runtime. Allows you or your other dependencies (e.g. hibernate) to use other versions of these jars. 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, etc.</td></tr></tbody></table><h2>Groovy 1.1.X - 1.5.X</h2><table class="confluenceTable"><tbody><tr><th class="confluenceTh">Gradle</th><th class="confluenceTh">Maven</th><th class="confluenceTh">Explanation</th></tr><tr><td class="confluenceTd">'org.codehaus.groovy:groovy:x.y.z'</td><td class="confluenceTd"><p><groupId>org.codehaus.groovy</groupId> <br class="atl-forced-newline" /> <artifactId>groovy</artifactId> <br class="atl-forced-newline" /> <version>x.y.z</version></p></td><td class="confluenceTd">Treats Antlr and ASM as standard dependencies. Only useful if you happen to also use the same versions of these jars yourself as it will save you having two copies of these jars. 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, etc.</td></tr><tr><td class="confluenceTd">'org.codehaus.groovy:groovy-all:x.y.z'</td><td class="confluenceTd"><p><groupId>org.codehaus.groovy</groupId> <br class="atl-forced-newline" /> <artifactId>groovy-all</artifactId> <br class="atl-forced-newline" /> <version>x.y.z</version></p></td><td class="confluenceTd">Includes jarjar versions of Antlr, ASM and Commons-CLI. Allows you or your other dependencies (e.g. hibernate) to use other versions of these jars. 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, etc.</td></tr><tr><td class="confluenceTd">'org.codehaus.groovy:groovy-all-minimal:x.y.z'</td><td class="confluenceTd"><p><groupId>org.codehaus.groovy</groupId> <br class="atl-forced-newline" /> <artifactId>groovy-all-minimal</artifactId> <br class="atl-forced-newline" /> <version>x.y.z</version></p></td><td class="confluenceTd">Includes jarjar versions of Antlr and ASM. Does not include Commons-CLI or any optional dependencies. Not suitable by itself if you want to use any tools which do command-line processing, e.g. groovyc, GroovyShell, ...</td></tr></tbody></table><h2>Groovy 1.0</h2><p>Available in the <a href="http://repo1.maven.org/maven/groovy/">Maven 1</a> and <a href="http://repo1.maven.org/maven2/groovy/">Maven 2</a> repositories.</p><table class="confluenceTable"><tbody><tr><th class="confluenceTh">Gradle</th><th class="confluenceTh">Maven</th><th class="confluenceTh">Explanation</th></tr><tr><td class="confluenceTd">'groovy:groovy:x.y.z'</td><td class="confluenceTd"><p><groupId>groovy</groupId> <br class="atl-forced-newline" /> <artifactId>groovy</artifactId> <br class="atl-forced-newline" /> <version>1.0</version></p></td><td class="confluenceTd">Treats Antlr and ASM as standard dependencies. Only useful if you happen to also use the same versions of these jars yourself as it will save you having two copies of these jars. Dependencies mandated for all optional parts of Groovy, e.g. AntBuilder, GroovyMBeans, etc.</td></tr><tr><td class="confluenceTd">'groovy:groovy-all:x.y.z'</td><td class="confluenceTd"><p><groupId>groovy</groupId> <br class="atl-forced-newline" /> <artifactId>groovy-all</artifactId> <br class="atl-forced-newline" /> <version>1.0</version></p></td><td class="confluenceTd">Includes jarjar versions of Antlr and ASM. Allows you or your other dependencies (e.g. hibernate) to use other versions of these jars. Dependencies mandated for all optional parts of Groovy, e.g. AntBuilder, GroovyMBeans, etc.</td></tr><tr><td class="confluenceTd">'groovy:groovy-all-minimal:x.y.z'</td><td class="confluenceTd"><p><groupId>groovy</groupId> <br class="atl-forced-newline" /> <artifactId>groovy-all-minimal</artifactId> <br class="atl-forced-newline" /> <version>1.0</version></p></td><td class="confluenceTd">Includes jarjar versions of Antlr and ASM. Does not include any optional dependencies.</td></tr></tbody></table><p>For historical purposes, the releases candidates for 1.0 are also available by using the appropriate version instead of 1.0 in the above version tag.</p><h2>Snapshot Releases</h2><p>In addition to the stable and milestone releases you can find intermediate SNAPSHOT releases at the <a href="http://snapshots.repository.codehaus.org/org/codehaus/groovy">codehaus snapshot maven repository</a>.</p><h1>GVM (the Groovy enVironment Manager)</h1><p>This tool makes installing Groovy on any Bash platform (Mac OSX, Linux, Cygwin, Solaris or FreeBSD) very easy.</p><p>Simply open a new terminal and enter:</p><pre>$ curl -s get.gvmtool.net | bash</pre><p>Follow the instructions on-screen to complete installation.</p><p>Open a new terminal or type the command:</p><pre>$ source "$HOME/.gvm/bin/gvm-init.sh"</pre><p>Then install the latest stable Groovy:</p><pre>$ gvm install groovy</pre><p>After installation is complete and you've made it your default version, test it with:</p><pre>$ groovy -version</pre><p>That's all there is to it!</p><h1>Other ways to get Groovy</h1><p><span style="font-size: 10.0pt;line-height: 13.0pt;">If you're on MacOS and have </span><a href="http://mxcl.github.com/homebrew/" style="font-size: 10.0pt;line-height: 13.0pt;">Homebrew </a><span style="font-size: 10.0pt;line-height: 13.0pt;">installed, you can run "brew install groovy" to install Groovy.</span></p><p>If you're on MacOS and have <a href="http://www.macports.org/">MacPorts</a> installed, you can run "sudo port install groovy" to install the latest Groovy release.</p><p>If you're on Windows, you can also use the <a class="confluence-link" href="/display/GROOVY/Windows+NSIS-Installer" data-linked-resource-id="5243105" data-linked-resource-type="page" data-linked-resource-default-alias="Windows NSIS-Installer" data-base-url="http://docs.codehaus.org">NSIS Windows installer</a>.</p><p>You may download other distributions of Groovy from <a href="http://dist.codehaus.org/groovy/distributions/">this site</a>.</p><p>If you prefer to live on the bleeding edge, you can also grab the <a href="http://xircles.codehaus.org/projects/groovy/repo">source code from SVN</a>.</p><p>If you are an IDE user, you can just grab the latest <a class="confluence-link" href="/display/GROOVY/IDE+Support" data-linked-resource-id="62747" data-linked-resource-type="page" data-linked-resource-default-alias="IDE Support" data-base-url="http://docs.codehaus.org">IDE plugin</a> and follow the plugin installation instructions.</p>
Please type the word appearing in the picture.
Attachments
Labels
Location
Watch this page
< Edit
Preview >
Loading…
Save
Cancel
Next hint
search
attachments
weblink
advanced