Automic VaultAutomic Vault

brew

使用 Homebrew, MacPorts, Nix, chocolatey, scoop 安装 grails

查看 grails 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install grails

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install grails

MacPorts ports tree · devel/grails/Portfile · 来源: api.github.com

Windows

Chocolatey已验证 · 92%
choco install Grails

Chocolatey community package catalog · Grails · 来源: community.chocolatey.org

Scoop已验证 · 92%
scoop install main/grails

Scoop official bucket manifest trees · bucket/grails.json · 来源: api.github.com

概览

软件包摘要

Web application framework for the Groovy language

命令和别名

  • grails
  • grails-forge-cli
  • grails-shell-cli
  • grails_forge_cli_completion

历史

项目历史与用法

Apache Grails is a Groovy-based full-stack web application framework for the JVM. It packages a convention-over-configuration application generator, runtime conventions, Gradle-based builds, GORM data access, and Spring Boot integration into a CLI-centered developer workflow.

项目历史

The Apache Grails project history says work began in July 2005, followed by a 0.1 release on March 29, 2006 and a 1.0 release on February 5, 2008. Its early appeal came from bringing Ruby on Rails-style productivity to the Java and Groovy ecosystem.

Grails passed through several stewardship phases: G2One, SpringSource, Object Computing, the Grails Foundation and Unity Foundation, and then the Apache Software Foundation. Apache described the ASF migration as an 18-month process starting in late spring 2024 alongside Grails 7 development.

The ASF move also changed package coordinates for Grails artifacts to org.apache.grails and consolidated many repositories into a single code base to satisfy ASF policy and speed release work.

采用历史

Grails gained adoption among JVM teams that wanted rapid web application development without leaving Java infrastructure. Its docs emphasize productivity, DRY conventions, Groovy, Spring Boot, Hibernate/GORM, and plugin-based extension.

Package managers matter for Grails because the CLI creates and runs applications, invokes scaffolding and build tasks, and anchors a developer's local JVM web framework toolchain. Homebrew, SDKMAN, and similar managers made it easier to install the framework outside IDE-specific setup.

使用方式

A typical Grails package user installs the CLI, creates or opens a Grails app, edits build.gradle and grails-app/conf configuration, and runs framework commands to build, test, run, generate, or package an application.

The framework is used for full-stack server-rendered apps, REST APIs, and JVM services that benefit from Groovy productivity while retaining Spring Boot, Jakarta EE, Hibernate, and Gradle integration.

为什么软件包爱好者会关心

Grails is significant because it is a framework package whose executable is the front door to an entire application layout. Its package has to fit JVM versioning, Gradle behavior, shell completion, generated project files, and long-lived enterprise upgrade paths.

The Apache transition is especially relevant for packagers because artifact coordinates, source distribution rules, release signing, and repository layout all affect downstream formulae and build reproducibility.

时间线

  • 2005-07: Work on Grails began.
  • 2006-03-29: Grails 0.1 release.
  • 2008-02-05: Grails 1.0 release.
  • 2019-07-11: Grails 4 GA release announced.
  • 2024: ASF migration began alongside Grails 7 development.
  • 2025-06-10: Grails 7.0.0-M4 became the first Grails release under ASF incubation.
  • 2025-10-07: Apache Grails graduated to an ASF Top-Level Project.

Related projects

  • Apache Groovy is the language foundation.
  • Spring Boot, Spring Framework, Jakarta EE, Hibernate, GORM, Gradle, and Grails Forge are core parts of the Grails ecosystem.
  • Ruby on Rails is the historical convention-over-configuration comparison point.

安全态势

风险级别:yellow

generalized runtime or code generation signal.

风险分类器

yellow 风险 · 中 置信度 · runtime

原因

  • generalized runtime or code generation signal

信号

  • text:shell

安装行为

  • 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
build.gradlegrails-app/conf/application.ymlgrails-app/conf/application.groovygrails-app/conf/runtime.groovy./config/application.(properties|yml)./application.(properties|yml)grails-app/conf/logback-spring.xml

可执行文件

已安装的可执行文件

命令类型暴露范围备注
grailscli全局可执行文件
grails-forge-clicli全局可执行文件
grails-shell-clicli全局可执行文件
grails_forge_cli_completioncli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本7.2.1
管理器更新时间2026-07-17
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/apache/grails-core

安装元数据

软件包元数据

软件包键brew:grails
版本7.2.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/grails
主页https://grails.apache.org/
仓库https://github.com/apache/grails-core
上游文档https://grails.apache.org/docs/latest
许可证Apache-2.0
源码归档https://github.com/apache/grails-core/releases/download/v7.2.1/apache-grails-7.2.1-bin.zip
最后更新2026-07-17T08:45:37Z
Pulseupdated
依赖openjdk@21
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明
注意事项The GRAILS_HOME directory is: $HOMEBREW_PREFIX/opt/grails/libexec

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

grails

nix profile install nixpkgs#grails
  • normalized package name match
  • 匹配方式:Grails
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: grails from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
MacPorts95%

grails

sudo port install grails
  • normalized package name match
  • 匹配方式:Grails
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/grails/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

Grails

choco install Grails
  • normalized package name match
  • 匹配方式:Grails
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: Grails from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='7.158','newfiletime'
Scoop95%

main/grails

scoop install main/grails
  • normalized package name match
  • 匹配方式:Grails
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/grails.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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