Automic VaultAutomic Vault

brew

groovy を Homebrew, chocolatey, apt, MacPorts, Nix, pacman, scoop でインストール

groovy のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install groovy

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install groovy

MacPorts ports tree · lang/groovy/Portfile · ソース: api.github.com

Linux

Debian apt確認済み · 92%
sudo apt install groovy

Debian stable package indexes · groovy · ソース: deb.debian.org

Nix確認済み · 92%
nix profile install nixpkgs#groovy

nixpkgs package indexes · pkgs/by-name/gr/groovy/package.nix · ソース: api.github.com

Arch Linux pacman確認済み · 92%
sudo pacman -S groovy

Arch Linux sync databases · groovy · ソース: geo.mirror.pkgbuild.com

概要

パッケージ概要

Java-based scripting language

コマンドとエイリアス

  • grape
  • groovy
  • groovyConsole
  • groovyc
  • groovydoc
  • groovysh
  • java2groovy
  • startGroovy

履歴

プロジェクトの歴史と使われ方

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.

タイムライン

  • 2003: Groovy project history begins, with beta releases listed in the official changelog.
  • 2004: JSR 241 tracked Groovy standardization work for the Java platform.
  • 2007: Groovy 1.0.0 was released.
  • 2012: Groovy 2.0.0 introduced static type checking and static compilation as headline features.
  • 2015: Groovy entered Apache incubation and graduated as an Apache top-level project on 2015-11-18.
  • 2020: Groovy 3.0.0 was released.
  • 2022: Groovy 4.0.0 was released.
  • 2025: Groovy 5.0.0 was released.

Related projects

  • Grails is the historically important Groovy web framework.
  • Gradle popularized Groovy DSL usage for JVM builds.
  • Spock is a Groovy-based testing and specification framework.
  • Jenkins Pipeline made Groovy scripts a common CI/CD automation surface.
  • Grape is Groovy's dependency-grabbing system exposed by the `grape` command.

セキュリティ状態

リスクレベル: yellow

generalized runtime or code generation signal.

リスク分類器

リスク yellow · 信頼度 中 · runtime

理由

  • generalized runtime or code generation signal

信号

  • text:scripting language

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 1 個のプラットフォームターゲットで利用できます。
  • 1 件の実行時依存関係とともにインストールされます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.groovy/grapeConfig.xml~/.groovy/logging.properties~/.groovy/groovysh_init.groovy

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
grapecliグローバル実行可能ファイル
groovycliグローバル実行可能ファイル
groovyConsolecliグローバル実行可能ファイル
groovyccliグローバル実行可能ファイル
groovydoccliグローバル実行可能ファイル
groovyshcliグローバル実行可能ファイル
java2groovycliグローバル実行可能ファイル
startGroovycliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-26
マネージャ版5.0.7
マネージャ更新日2026-07-04
ローカルデータOK
上流not checked
検出された最新未検出

https://www.groovy-lang.org/

インストールメタデータ

パッケージメタデータ

パッケージキー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
Pulseupdated
依存関係openjdk
Bottle利用可能 (対象 all)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegroovy
Version Scheme0
Revision0
Conflicts With
  • groovysdk
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Debian apt95%

groovy 2.4.21-10

Agile dynamic language for the Java Virtual Machine

http://www.groovy-lang.org

sudo apt install groovy
  • Section: java
  • Architecture: all
  • 15 依存関係
  • 5 任意依存関係
  • normalized package name match
  • 一致条件: Groovy
Debian stable package indexes · deb.debian.org · Debian stable package indexes: groovy from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

groovy-doc 2.4.21-10

Agile dynamic language for the Java Virtual Machine (documentation)

http://www.groovy-lang.org

sudo apt install groovy-doc
  • Section: doc
  • Architecture: all
  • Source Package: groovy
  • 4 任意依存関係
  • normalized package name match
  • 一致条件: Groovy
Debian stable package indexes · deb.debian.org · Debian stable package indexes: groovy-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

groovy

nix profile install nixpkgs#groovy
  • normalized package name match
  • 一致条件: Groovy
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/gr/groovy/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

groovy 2.4.21-10

Agile dynamic language for the Java Virtual Machine

http://www.groovy-lang.org

sudo apt install groovy
  • Section: universe/devel
  • Architecture: all
  • 15 依存関係
  • 5 任意依存関係
  • normalized package name match
  • 一致条件: Groovy
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: groovy from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

groovy-doc 2.4.21-10

Agile dynamic language for the Java Virtual Machine (documentation)

http://www.groovy-lang.org

sudo apt install groovy-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: groovy
  • 4 任意依存関係
  • normalized package name match
  • 一致条件: Groovy
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: groovy-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
pacman95%

groovy 5.0.4-1

Programming language for the Java platform, inspired by Python, Ruby and Smalltalk

https://groovy-lang.org/

sudo pacman -S groovy
  • License: Apache-2.0
  • Architecture: any
  • 1 依存関係
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Groovy
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: groovy from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

groovy

sudo port install groovy
  • normalized package name match
  • 一致条件: Groovy
MacPorts ports tree · api.github.com · MacPorts ports tree: lang/groovy/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

groovy

choco install groovy
  • normalized package name match
  • 一致条件: Groovy
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: groovy from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','gpg4win-vanilla'
Scoop95%

main/groovy

scoop install main/groovy
  • normalized package name match
  • 一致条件: Groovy
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/groovy.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment