grunt-cli
    Overview
    Documentation
    Insights
    Code
    Contributors
    Dependencies
    Alternatives

grunt-cli

The grunt command line interface

1.3.2  •  Published 1 years ago  •  by gruntjs  •  MIT License

The Grunt command line interface.

Install this globally and you’ll have access to the grunt command anywhere on your system.

npm install -g grunt-cli

Note: The job of the grunt command is to load and run the version of Grunt you have installed locally to your project, irrespective of its version. Starting with Grunt v0.4, you should never install Grunt itself globally. For more information about why, please read this.

See the Getting Started guide for more information.

Shell tab auto-completion

To enable tab auto-completion for Grunt, add one of the following lines to your ~/.bashrc or ~/.zshrc file.

# Bash, ~/.bashrc
eval "$(grunt --completion=bash)"
# Zsh, ~/.zshrc
eval "$(grunt --completion=zsh)"

Installing grunt-cli locally

If you prefer the idiomatic Node.js method to get started with a project (npm install && npm test) then install grunt-cli locally with npm install grunt-cli --save-dev. Then add a script to your package.json to run the associated grunt command: "scripts": { "test": "grunt test" } . Now npm test will use the locally installed ./node_modules/.bin/grunt executable to run your Grunt commands.

To read more about npm scripts, please visit the npm docs: https://docs.npmjs.com/misc/scripts.

How do you feel about the name Devstore for this site?

Popularity

Weekly Downloads
610.1K
Stars
697

Maintenance

Development

Last ver 1 year ago
Created 7 years ago
Last commit 1 year ago
22 days between commits

Technology

Node version: 8.12.0
10.1K unpacked

Compliance

MIT License
OSI Approved
0 vulnerabilities

Contributors

23 contributors
Vlad Filippov
Maintainer, 22 commits, 13 merges, 2 PRs
Ben Alman
Maintainer, 21 commits
Works at toasttab
Kyle Robinson Young
Maintainer, 17 commits, 2 merges, 5 PRs
Works at YNAB.
Tyler Kellen
Maintainer, 16 commits, 1 merges
XhmikosR
Maintainer, 7 commits, 4 PRs
Sindre Sorhus
2 commits, 1 merges
Ready for the next level?
Join Devstore's founding team to help us build the ultimate open-source app store, work with the latest technologies, and enjoy great culture, impact and autonomy
© 2019 Devstore, Inc.
Devstore helps developers find and use open-source packages, so they can focus on building amazing things