Skip to content
Grunt's command line interface.
JavaScript Shell
Pull request Compare This branch is 66 commits behind gruntjs:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

grunt-cli Build Status

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 grunt Getting Started guide for more information.

Shell tab auto-completion

To enable bash tab auto-completion for grunt, add the following line to your ~/.bashrc file. Currently, the only supported shell is bash.

eval "$(grunt --completion=bash)"
Something went wrong with that request. Please try again.