How To Install Grunt?

How To Install Grunt?

grunt

A JavaScript task runner for automating processes.

Maintainer: Debian Javascript Maintainers



Section: web

Install grunt

  • Debian apt-get install grunt Click to copy
  • Ubuntu apt-get install grunt Click to copy
  • Arch Linux pacman -S node-grunt-cli Click to copy
  • Kali Linux apt-get install grunt Click to copy
  • Fedora dnf install node-grunt-cli Click to copy
  • Raspbian apt-get install grunt Click to copy

A JavaScript task runner for automating processes.

How to use grunt?

Below are few example commands for grunt that you can use in the terminal.

Run the default task process:
gruntClick to copy
Run one or more specific space-separated task(s):
grunt task_nameClick to copy
Specify an alternative configuration file:
grunt --gruntfile path/to/fileClick to copy
Specify an alternative base path for relative files:
grunt --base path/to/directoryClick to copy
Specify an additional directory to scan for tasks in:
grunt --tasks path/to/directoryClick to copy
Perform a dry-run without writing any files:
grunt --no-writeClick to copy
List all available options:
grunt --helpClick to copy
Install the latest version of grunt in Debian, Ubuntu, Arch, Kali, Fedora and Raspbian from terminal. To install the grunt just copy the above command for your OS and run into terminal. After you run the command it will grab the latest version of grunt from the respository and install it in your computer/server.