macOS
brew install grunt-clilocal Homebrew formula metadata
安装
brew install grunt-clilocal Homebrew formula metadata
nix profile install nixpkgs#grunt-clinixpkgs package indexes · pkgs/by-name/gr/grunt-cli/package.nix · 来源: api.github.com
sudo pacman -S grunt-cliArch Linux sync databases · grunt-cli · 来源: geo.mirror.pkgbuild.com
winget install --id Grunt.Grunt -eWindows Package Manager source index · Grunt.Grunt · 来源: cdn.winget.microsoft.com
概览
JavaScript Task Runner
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
./Gruntfile.js./Gruntfile.coffee可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
grunt | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:grunt-cli |
|---|---|
| 版本 | 1.5.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/grunt-cli |
| 主页 | https://gruntjs.com/ |
| 仓库 | https://github.com/gruntjs/grunt-cli |
| 上游文档 | https://github.com/gruntjs/grunt-cli#readme |
| 许可证 | MIT |
| 源码归档 | https://registry.npmjs.org/grunt-cli/-/grunt-cli-1.5.0.tgz |
| 依赖 | node |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | grunt-cli |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
grunt-cli
nix profile install nixpkgs#grunt-cligrunt-cli 1.5.0-1
The grunt command line interface.
sudo pacman -S grunt-cligrunt 1.6.1-1
JavaScript task runner/build system/maintainer tool
sudo apt install gruntgrunt 1.6.1-1
JavaScript task runner/build system/maintainer tool
sudo apt install gruntGrunt.Grunt
winget install --id Grunt.Grunt -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.