I removed the old version of grunt first, then I installed the new grunt version, and then I got this error:
D:\\www\\grunt-test\\grunt grunt-cli: The
You can simply run this command:
npm install grunt --save-dev