I’ve been trying to install Grunt on Magento 2 and been having little luck.

This was the result of me trying to run

npm install grunt --save-dev
13609 error argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "grunt" "--save-dev"
13610 error node v4.2.1
13611 error npm  v2.14.7
13612 error code EPEERINVALID
13613 error peerinvalid The package grunt@1.0.1 does not satisfy its siblings' peerDependencies requirements!
13613 error peerinvalid Peer grunt-exec@0.4.6 wants grunt@~0.4
13613 error peerinvalid Peer grunt-styledocco@0.1.6 wants grunt@~0.4
13613 error peerinvalid Peer grunt-contrib-clean@0.6.0 wants grunt@~0.4.0
13613 error peerinvalid Peer grunt-banner@0.4.0 wants grunt@>=0.4.0
13613 error peerinvalid Peer grunt-autoprefixer@2.2.0 wants grunt@~0.4.2
13613 error peerinvalid Peer grunt-contrib-watch@0.6.1 wants grunt@~0.4.0
13613 error peerinvalid Peer grunt-replace@0.9.3 wants grunt@>=0.4.0
13613 error peerinvalid Peer grunt-contrib-connect@0.9.0 wants grunt@~0.4.0
13613 error peerinvalid Peer grunt-contrib-cssmin@0.10.0 wants grunt@~0.4.1
13613 error peerinvalid Peer grunt-contrib-less@0.12.0 wants grunt@~0.4.0
13613 error peerinvalid Peer grunt-contrib-jasmine@0.8.2 wants grunt@~0.4.0
13613 error peerinvalid Peer grunt-contrib-imagemin@0.9.4 wants grunt@>=0.4.0

If I simply change the original command to:

npm install grunt@0.4 --save-dev

It seems to accept it!