Fancy one line install (Unix / Windows on Cygwin)
-
Check that
node
exists and is in your $PATH -
Uninstall previously installed version (if any)
-
Global Install the npm package from dev (to be changed, master) branch.
-
Once installed, display the help output
-
Followed by the init template, creating a brand new project with the correct grunt setup, based on the answers to a few question.
If you have problem with npm saying:
npm ERR! Move it away, and try again.
Try running npm cache clean
and try again.
If you are some behind some kind of proxy and have the script pending following this:
Fetching https://github.com/h5bp/html5-boilerplate/tarball/master
This might take a few moment
Try setting up your $http_proxy
environment variable to your proxyurl, and try
again.