# grunt-cli を Homebrew, Nix, pacman, apt, winget でインストール

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

## インストール

```sh
sudo av install brew:grunt-cli
```

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

### macOS

- Homebrew (100%):

```sh
brew install grunt-cli
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#grunt-cli
```

  証拠: nixpkgs package indexes: pkgs/by-name/gr/grunt-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S grunt-cli
```

  証拠: Arch Linux sync databases: grunt-cli from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- Debian apt (92%):

```sh
sudo apt install grunt
```

  証拠: Debian stable package indexes: grunt from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

### Windows

- winget (92%):

```sh
winget install --id Grunt.Grunt -e
```

  証拠: Windows Package Manager source index: Grunt.Grunt from https://cdn.winget.microsoft.com/cache/source.msix

## パッケージ情報

- **パッケージキー:** brew:grunt-cli
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.5.0
- **ソース概要:** JavaScript Task Runner
- **ホームページ:** <https://gruntjs.com/>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- grunt (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

grunt-cli is the small command-line launcher for Grunt, the JavaScript task runner. Its importance is not that it contains the build system itself, but that it standardizes the global or local `grunt` command while delegating execution to the Grunt version installed beside a project Gruntfile.

### プロジェクトの歴史

The Grunt ecosystem began with the core grunt repository in September 2011 and the dedicated grunt-cli repository in November 2012. The CLI split reflects a Node.js packaging lesson: the executable can live globally while the task runner and plugins stay pinned in each project.

Grunt documentation for the 0.4 era explicitly tells users that installing grunt-cli does not install the Grunt task runner. Instead, each `grunt` invocation searches through Node's require system for a local Grunt installation, reads the project Gruntfile, and runs requested tasks. The grunt-cli npm package was created in November 2012, matching the repository's early public history.

### 採用の歴史

grunt-cli was widely adopted with Grunt during the early Node.js build-tool era, when JavaScript projects needed repeatable commands for minification, linting, concatenation, tests, and release chores. Its global-install pattern let developers type `grunt` in many projects while allowing each project to control its own Grunt and plugin versions.

As npm scripts and later bundlers became more common, grunt-cli's role narrowed but remained historically important: it is the launcher that made Grunt's project-local dependency model ergonomic across shells, editors, CI systems, and package managers.

### 使われ方

Typical use is `npm install -g grunt-cli` to place `grunt` on PATH, followed by project-local installation of `grunt` and plugins as development dependencies. Running `grunt` from a project directory locates the nearest Gruntfile, loads project tasks, and executes the named or default task. The CLI also exposes options for help, base path, alternate Gruntfile, task directories, npm-installed plugins, dry-run behavior, verbosity, version output, and shell completion.

### パッケージ好きにとっての重要性

grunt-cli is package-manager lore because it encodes the global-binary/local-library compromise that became common in Node tooling. It gives Homebrew, npm, Debian, Arch, Nix, Ubuntu, and Windows package entries a simple executable to ship, while project correctness still depends on `package.json` and the local `node_modules` graph.

For maintainers, grunt-cli is also a reminder that a package named like a tool can be only a shim. Installing it gives users the command, not necessarily the task runner semantics until a project supplies a Gruntfile and dependencies.

### タイムライン

- 2011: gruntjs/grunt repository created.
- 2012: gruntjs/grunt-cli repository created.
- 2012: grunt-cli package created on npm.
- 2013: Grunt 0.4 documentation formalized the global CLI plus local Grunt workflow.
- 2021: grunt-cli 1.4.x releases published.
- 2024: grunt-cli 1.5.0 release published.

### Related projects

- grunt is the task runner that grunt-cli locates and runs.
- grunt-contrib plugins provide common tasks such as uglify, jshint, and nodeunit in documented examples.
- npm is the package manager used by Grunt documentation for installing grunt-cli, grunt, and plugins.

### ソース

- <https://api.github.com/repos/gruntjs/grunt>
- <https://api.github.com/repos/gruntjs/grunt-cli>
- <https://github.com/gruntjs/grunt-cli>
- <https://gruntjs.com/getting-started>
- <https://gruntjs.com/using-the-cli>
- <https://registry.npmjs.org/grunt-cli>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals


## 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: ./Gruntfile.js, ./Gruntfile.coffee
## 他のパッケージマネージャ記録

- Nix - grunt-cli: normalized package name match | nixpkgs package indexes: pkgs/by-name/gr/grunt-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - grunt-cli - 1.5.0-1: normalized package name match | Arch Linux sync databases: grunt-cli from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | The grunt command line interface. | https://gruntjs.com/
- Debian apt - grunt - 1.6.1-1: installed executable or alias match | Debian stable package indexes: grunt from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | JavaScript task runner/build system/maintainer tool | https://gruntjs.com/
- Ubuntu apt - grunt - 1.6.1-1: installed executable or alias match | Ubuntu 24.04 LTS package indexes: grunt from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | JavaScript task runner/build system/maintainer tool | https://gruntjs.com/
- winget - Grunt.Grunt: installed executable or alias match | Windows Package Manager source index: Grunt.Grunt from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

View the package source record on GitHub. [combined/grunt-cli.yml](https://github.com/mxcl/pkgdb/blob/main/combined/grunt-cli.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
