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
Do
npm install
to install Grunt locally in ./node_modules (and everything else specified in the package.json file)
./node_modules
package.json