macOS
brew install groovylocal Homebrew formula metadata
sudo port install groovyMacPorts ports tree · lang/groovy/Portfile · source: api.github.com
brew
Java-based scripting language. Version 5.0.7 via Homebrew; verified 2026-07-04.
install
brew install groovylocal Homebrew formula metadata
sudo port install groovyMacPorts ports tree · lang/groovy/Portfile · source: api.github.com
sudo apt install groovyDebian stable package indexes · groovy · source: deb.debian.org
nix profile install nixpkgs#groovynixpkgs package indexes · pkgs/by-name/gr/groovy/package.nix · source: api.github.com
sudo pacman -S groovyArch Linux sync databases · groovy · source: geo.mirror.pkgbuild.com
choco install groovyChocolatey community package catalog · groovy · source: community.chocolatey.org
scoop install main/groovyScoop official bucket manifest trees · bucket/groovy.json · source: api.github.com
overview
Java-based scripting language
history
Apache Groovy is a JVM language and scripting runtime with Java-like syntax, dynamic and static typing options, metaprogramming, builders, closures, DSL support, and direct Java interoperability.
As a package, `groovy` is a classic developer workstation formula: it installs the language runtime and command-line tools used for scripts, REPL sessions, compilation, documentation generation, dependency grabbing, and Java-adjacent automation.
The Groovy project dates itself to 2003, and the official site copyright span begins in 2003. Early public release history is visible in the official changelog, which lists beta releases beginning in December 2003 and JSR-labeled releases through 2005 and 2006.
Groovy entered the Java Community Process as JSR 241, an effort to standardize the Groovy programming language for the Java platform. The official changelog records Groovy 1.0.0 on 2007-01-03, after years of beta, release-candidate, and JSR-tagged builds.
Groovy 2.0.0 was released in 2012. Its release notes highlighted static type checking and static compilation, helping Groovy serve both dynamic scripting and more performance-conscious JVM code paths.
In 2015, the Groovy project moved into the Apache Software Foundation incubator. Apache's incubator status page records that Groovy graduated on 2015-11-18, establishing Apache Groovy as an ASF top-level project governed under Apache processes.
Later major lines kept the language aligned with modern Java while retaining its scripting and DSL identity. The official changelog records Groovy 3.0.0 in 2020, Groovy 4.0.0 in 2022, and Groovy 5.0.0 in 2025.
Groovy's adoption came from being close enough to Java for enterprise teams while adding concise syntax, closures, builders, runtime metaprogramming, and script execution. That made it useful for build logic, tests, internal automation, and DSL-heavy frameworks.
The Groovy ecosystem became especially visible through Grails, Gradle build scripts, Spock tests, Jenkins Pipeline scripts, and many smaller Java-platform automation tasks. The official home page describes a vibrant ecosystem across web development, reactive applications, concurrency, test frameworks, build tools, code analysis, and GUI building.
Apache governance mattered for adoption because it moved Groovy from its Codehaus-era identity into ASF infrastructure, releases, trademarks, and community processes. That gave packagers a stable upstream identity and helped downstream projects refer to Apache Groovy rather than a vendor-owned runtime.
The Homebrew `groovy` package installs command-line entry points such as `groovy`, `groovyc`, `groovysh`, `groovyConsole`, `groovydoc`, `grape`, `java2groovy`, and `startGroovy`.
`groovy` runs scripts and classes on the JVM; `groovyc` compiles Groovy sources; `groovysh` provides a shell; `groovyConsole` provides a Swing console; `groovydoc` builds API documentation; and `grape` handles Groovy's dependency-grabbing workflow.
User-level files under `~/.groovy` are part of the package curation because Grape, logging, and shell startup customization are common per-user Groovy workflows. No general credentials file is documented for the language runtime.
Groovy is a packaging hinge for the JVM scripting world. A single language package exposes a REPL, compiler, script runner, dependency helper, and documentation generator while depending on Java rather than shipping an isolated VM.
It also sits at the intersection of language-runtime packaging and build-tool culture. Many developers meet Groovy through tools that embed it, but the package remains valuable for direct scripts, local debugging, and running examples outside a larger framework.
For package maintainers, Groovy is interesting because the project has long-lived major lines, Apache source-release expectations, Java-version compatibility concerns, and a split between the language distribution and SDK/documentation adjunct packages.
security posture
generalized runtime or code generation signal.
yellow risk · medium confidence · runtime
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/.groovy/grapeConfig.xml~/.groovy/logging.properties~/.groovy/groovysh_init.groovyexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
grape | cli | global executable | |
groovy | cli | global executable | |
groovyConsole | cli | global executable | |
groovyc | cli | global executable | |
groovydoc | cli | global executable | |
groovysh | cli | global executable | |
java2groovy | cli | global executable | |
startGroovy | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:groovy |
|---|---|
| Version | 5.0.7 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/groovy |
| Homepage | https://www.groovy-lang.org/ |
| Repository | https://github.com/apache/groovy |
| Upstream docs | https://groovy.apache.org/ |
| License | Apache-2.0 |
| Source archive | https://groovy.jfrog.io/artifactory/dist-release-local/groovy-zips/apache-groovy-binary-5.0.7.zip |
| Last updated | 2026-07-04T02:30:52Z |
| Pulse | updated |
| Dependencies | openjdk |
| Bottle | available (on all) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | groovy |
| Version Scheme | 0 |
| Revision | 0 |
| Conflicts With |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
groovy 2.4.21-10
Agile dynamic language for the Java Virtual Machine
sudo apt install groovygroovy-doc 2.4.21-10
Agile dynamic language for the Java Virtual Machine (documentation)
sudo apt install groovy-docgroovy
nix profile install nixpkgs#groovygroovy 2.4.21-10
Agile dynamic language for the Java Virtual Machine
sudo apt install groovygroovy-doc 2.4.21-10
Agile dynamic language for the Java Virtual Machine (documentation)
sudo apt install groovy-docgroovy 5.0.4-1
Programming language for the Java platform, inspired by Python, Ruby and Smalltalk
sudo pacman -S groovygroovy
sudo port install groovygroovy
choco install groovymain/groovy
scoop install main/groovysource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.