# 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

```sh
sudo av install brew:grails
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install grails
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install grails
```

  Evidence: MacPorts ports tree: devel/grails/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#grails
```

  Evidence: nixpkgs package indexes: grails from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

### Windows

- Chocolatey (92%):

```sh
choco install Grails
```

  Evidence: Chocolatey community package catalog: Grails from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='7.158','newfiletime'

- Scoop (92%):

```sh
scoop install main/grails
```

  Evidence: Scoop official bucket manifest trees: bucket/grails.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:grails
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/grails>
- **Version:** 7.2.0
- **Source summary:** Web application framework for the Groovy language
- **Homepage:** <https://grails.apache.org/>
- **Repository:** <https://github.com/apache/grails-core>
- **Upstream docs:** <https://grails.apache.org/docs/latest>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/apache/grails-core/releases/download/v7.2.0/apache-grails-7.2.0-bin.zip>
- **Last updated:** 2026-07-05T14:37:38Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- grails (cli)
- grails-forge-cli (cli)
- grails-shell-cli (cli)
- grails_forge_cli_completion (cli)
- grails (alias)
- grails-forge-cli (alias)
- grails-shell-cli (alias)
- grails_forge_cli_completion (alias)

## Dependencies

- openjdk@21

## Install behavior

- Post-install hook: not defined
- Caveats: The GRAILS_HOME directory is: $HOMEBREW_PREFIX/opt/grails/libexec
- Bottle: available on all

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 7.2.0
- Package-manager updated: 2026-07-05
- Local data: ok
- Upstream repository: https://github.com/apache/grails-core
- info: No cached GitHub release or tag data was available.
## 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.

### Sources

- <https://grails.apache.org/blog/2025-06-10-grails-7-m4.html>
- <https://grails.apache.org/blog/2025-10-07-apache-grails-graduation-top-level-project.html>
- <https://grails.apache.org/docs/latest/guide/single.html>
- <https://grails.apache.org/docs/latest/guide/upgrading.html>
- <https://grails.apache.org/documentation.html>


## Security Notes

generalized runtime or code generation signal.

- **Geiger risk:** yellow / medium
- generalized runtime or code generation signal


## 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

- Unix: build.gradle, grails-app/conf/application.yml, grails-app/conf/application.groovy, grails-app/conf/runtime.groovy, ./config/application.(properties|yml), ./application.(properties|yml), grails-app/conf/logback-spring.xml
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** grails
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Nix - grails: normalized package name match | nixpkgs package indexes: grails from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- MacPorts - grails: normalized package name match | MacPorts ports tree: devel/grails/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - Grails: normalized package name match | Chocolatey community package catalog: Grails from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='7.158','newfiletime'
- Scoop - main/grails: normalized package name match | Scoop official bucket manifest trees: bucket/grails.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Related links

- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [openjdk@21](https://www.automicvault.com/pkg/brew/openjdk-21/) - Runtime dependency declared by Homebrew.
- [skinny](https://www.automicvault.com/pkg/brew/skinny/) - Shares av.db curated category or tags: cli, developer-tools, mvc, web-framework, web-frameworks.
- [fastapi](https://www.automicvault.com/pkg/brew/fastapi/) - Shares av.db curated category or tags: cli, developer-tools, web-framework, web-frameworks.
- [gradle](https://www.automicvault.com/pkg/brew/gradle/) - Shares av.db curated category or tags: cli, developer-tools, groovy, java, jvm.
- [ant](https://www.automicvault.com/pkg/brew/ant/) - Shares av.db curated category or tags: apache, cli, developer-tools, java.
- [apache-opennlp](https://www.automicvault.com/pkg/brew/apache-opennlp/) - Shares av.db curated category or tags: apache, cli, developer-tools, java.
- [crash](https://www.automicvault.com/pkg/brew/crash/) - Shares av.db curated category or tags: cli, developer-tools, java, jvm.
- [gcviewer](https://www.automicvault.com/pkg/brew/gcviewer/) - Shares av.db curated category or tags: cli, developer-tools, java, jvm.
- [jasmin](https://www.automicvault.com/pkg/brew/jasmin/) - Shares av.db curated category or tags: cli, developer-tools, java, jvm.

## Combined YAML source

View the package source record on GitHub. [combined/grails.yml](https://github.com/automic-vault/db/blob/main/combined/grails.yml)


## Sources

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