macOS
brew install groovylocal Homebrew formula metadata
sudo port install groovyMacPorts ports tree · lang/groovy/Portfile · ソース: api.github.com
brew
groovy のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install groovylocal Homebrew formula metadata
sudo port install groovyMacPorts ports tree · lang/groovy/Portfile · ソース: api.github.com
sudo apt install groovyDebian stable package indexes · groovy · ソース: deb.debian.org
nix profile install nixpkgs#groovynixpkgs package indexes · pkgs/by-name/gr/groovy/package.nix · ソース: api.github.com
sudo pacman -S groovyArch Linux sync databases · groovy · ソース: geo.mirror.pkgbuild.com
choco install groovyChocolatey community package catalog · groovy · ソース: community.chocolatey.org
scoop install main/groovyScoop official bucket manifest trees · bucket/groovy.json · ソース: api.github.com
概要
Java-based scripting language
履歴
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.
セキュリティ状態
generalized runtime or code generation signal.
リスク yellow · 信頼度 中 · runtime
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
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.groovy実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
grape | cli | グローバル実行可能ファイル | |
groovy | cli | グローバル実行可能ファイル | |
groovyConsole | cli | グローバル実行可能ファイル | |
groovyc | cli | グローバル実行可能ファイル | |
groovydoc | cli | グローバル実行可能ファイル | |
groovysh | cli | グローバル実行可能ファイル | |
java2groovy | cli | グローバル実行可能ファイル | |
startGroovy | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:groovy |
|---|---|
| バージョン | 5.0.7 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/groovy |
| ホームページ | https://www.groovy-lang.org/ |
| リポジトリ | https://github.com/apache/groovy |
| 上流ドキュメント | https://groovy.apache.org/ |
| ライセンス | Apache-2.0 |
| ソースアーカイブ | https://groovy.jfrog.io/artifactory/dist-release-local/groovy-zips/apache-groovy-binary-5.0.7.zip |
| 最終更新 | 2026-07-04T02:30:52Z |
| Pulse | updated |
| 依存関係 | openjdk |
| Bottle | 利用可能 (対象 all) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| 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 |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
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/groovyソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.