I used Homebrew to install Node.js, then used npm install
to install Grunt and its dependencies, but after the installation completed, I was not able to run Grunt:
zsh: correct 'grunt' to 'grn' ÆnyaeÅ? n
zsh: command not found: grunt
What is the proper method of installing Grunt so I do not get this error?
I used Homebrew to install Node.js, then used npm install
to install Grunt and its dependencies, but after the installation completed, I was not able to run Grunt:
zsh: correct 'grunt' to 'grn' ÆnyaeÅ? n
zsh: command not found: grunt
What is the proper method of installing Grunt so I do not get this error?
Share Improve this question edited Jan 20, 2015 at 7:12 hexacyanide 91.7k31 gold badges165 silver badges162 bronze badges asked Sep 22, 2013 at 4:31 sottishsottish 1252 silver badges8 bronze badges2 Answers
Reset to default 21To use Grunt on the command line, you have to install the command-line interface:
npm install -g grunt-cli
The -g
flag is for installing the module globally, which will also create a PATH variable for Grunt.
npm install -g grunt-cli => This will put the grunt command in your system path