# grails を Homebrew, MacPorts, Nix, chocolatey, scoop でインストール

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

## インストール

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

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

### macOS

- Homebrew (100%):

```sh
brew install grails
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install grails
```

  証拠: 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
```

  証拠: 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
```

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

- Scoop (92%):

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

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

## パッケージ情報

- **パッケージキー:** brew:grails
- **パッケージマネージャ:** Homebrew
- **バージョン:** 7.2.1
- **ソース概要:** Web application framework for the Groovy language
- **ホームページ:** <https://grails.apache.org/>
- **リポジトリ:** <https://github.com/apache/grails-core>
- **最終更新:** 2026-07-17T08:45:37Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- grails (エイリアス)
- grails-forge-cli (エイリアス)
- grails-shell-cli (エイリアス)
- grails_forge_cli_completion (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 7.2.1
## プロジェクトの歴史と使われ方

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.

### ソース

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


## セキュリティノート

generalized runtime or code generation signal.

- **Geiger リスク:** yellow / 中
- 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
## 他のパッケージマネージャ記録

- 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.3108','pragmaticworksworkbenchserver'
- 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


## Combined YAML source

View the package source record on GitHub. [combined/grails.yml](https://github.com/mxcl/pkgdb/blob/main/combined/grails.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
