Kualo / docs
On this page

How to install Grunt

Install Grunt via npm over SSH on your Kualo hosting account and set up a shell alias for quick access.

1 min read Updated 4 Jun 2026

This guide explains how to install Grunt using npm over SSH on your Kualo hosting account. You will need SSH access and basic command-line experience.

If you are not comfortable using SSH, open a support ticket and one of our system administrators will install Grunt for you.

Install Grunt via npm

  1. From your home directory, install both the Grunt library and its CLI tool:
npm install grunt grunt-cli

All packages are downloaded and installed locally under ~/node_modules.

  1. Confirm the binary is present:
find ./node_modules/ -name "grunt"

You should see output similar to:

./node_modules/grunt
./node_modules/grunt/lib/grunt
./node_modules/grunt-cli/bin/grunt
./node_modules/.bin/grunt
  1. Check the version to confirm Grunt is working:
./node_modules/grunt-cli/bin/grunt -V

Set up a shell alias

To avoid typing the full path every time, add an alias to your ~/.bashrc file.

  1. Append the alias:
echo 'alias grunt="~/node_modules/grunt-cli/bin/grunt"' >> ~/.bashrc
  1. Apply the change:
source ~/.bashrc
  1. Verify the alias works:
grunt -V

You can now use the grunt command directly to run your tasks.

Was this helpful?
Your feedback helps us find gaps in the docs.
Still need a hand?
Real people, around the clock - start a chat or open a ticket and we'll help you put it right.