I'm a fan of automated processes. There I wrote a little shellscript, which is working fine on Linux, Mac and Windows with Cygwin.
This little CLI-program installs all dependencies for a fully oparetive development environment. You just need to install PHP and Nodejs and run this small tool from your CLI in you favorite project folder.
Get the code
This small tool is available on Github: https://github.com/rubymatrix/phpunit-grunt-setup
Tell us you thoughts in comments or write some wishes, bugs or anything on repository bugtracker: https://github.com/rubymatrix/phpunit-grunt-setup/issues