Many people have a problem of setting up and installing cordova, just to make things easier thought of writing a blog about it.
So, before starting cross platform mobile application development using cordova, you should configure your machine. It is always hard to install and configure for the newbies. There are so many platforms available like Mac, Windows, Linux etc. This will help you to setup Cordova on Mac and Linux OS.