Automic VaultAutomic Vault

brew

Install grails with Homebrew, chocolatey, MacPorts, Nix, scoop

Web application framework for the Groovy language. Version 7.2.0 via Homebrew; verified 2026-07-05.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install grails

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install grails

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

Windows

Chocolateyverified · 92%
choco install Grails

Chocolatey community package catalog · Grails · source: community.chocolatey.org

Scoopverified · 92%
scoop install main/grails

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

overview

Package summary

Web application framework for the Groovy language

Commands and aliases

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

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

security posture

Risk level: yellow

generalized runtime or code generation signal.

Risk classifier

yellow risk · medium confidence · runtime

Why

  • generalized runtime or code generation signal

Signals

  • text:shell

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 1 platform targets.
  • Installs with 1 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

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

executables

Installed executables

CommandKindExposureNote
grailscliglobal executable
grails-forge-clicliglobal executable
grails-shell-clicliglobal executable
grails_forge_cli_completioncliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version7.2.0
manager updated2026-07-05
local dataok
upstreamnot checked
latest detectednot detected

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

install metadata

Package metadata

Package keybrew:grails
Version7.2.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/grails
Homepagehttps://grails.apache.org/
Repositoryhttps://github.com/apache/grails-core
Upstream docshttps://grails.apache.org/docs/latest
LicenseApache-2.0
Source archivehttps://github.com/apache/grails-core/releases/download/v7.2.0/apache-grails-7.2.0-bin.zip
Last updated2026-07-05T14:37:38Z
Pulseupdated
Dependenciesopenjdk@21
Bottleavailable (on all)
Homebrew post-installnot defined
Servicenone declared
CaveatsThe GRAILS_HOME directory is: $HOMEBREW_PREFIX/opt/grails/libexec

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

grails

nix profile install nixpkgs#grails
  • normalized package name match
  • Matched by: 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
  • Matched by: 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
  • Matched by: 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
  • Matched by: 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

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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