3

I have install grunt on my server via the setup instructions on the grunt website.

Using the npm install -g grunt-cli

However I still can get my console to recognize the grunt command. I can see any linking in my system variables path directory so im guessing this is probably the issue. Does anyone know what should be in the path directory to make the console pick up the grunt command.

Any help would be great, I only have the issue on my windows server on my machine is fine.

Error is

The term 'grunt' is not recognized as the name of a cmdlet, function, script file, or operable program;

Cheers

2 Answers 2

9

Found it in the end with grunt-cli if it fails to set the enviroment variable you need to set it in your system variables under path.

Mine for example was

C:\Documents and Settings\Administrator.####\Application Data\npm

Sign up to request clarification or add additional context in comments.

Comments

0

Current grunt version does that automatically unless until you don't have write permission's on your file system.

1 Comment

This was the case for myself working as administrator in the PowerShell. Bizarre!

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.