macOS
brew install grunt-cliprovider-native install command
安装
brew install grunt-cliprovider-native install command
概览
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 | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:grunt-cli |
|---|---|
| 版本 | 1.5.0 |
| 软件包管理器 | Homebrew |
| 主页 | https://gruntjs.com/ |
| Bottle | 未记录 |
| 服务 | 未声明 |
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.