Cordova is primarily a command line based progamming language using Nodjs. It creates the required directory structure for your cordova app. By default, the cordova create script generates a skeletal web-based application whose home page is the project's www/index.html file. All subsequent commands need to be run within the project's directory, or any subdirectories: Add the platforms that you want to target your app.

1Cordova User ManualCordova User Manual
2Create your first Cordova appCreate your first Cordova app
3Create a JavaScript environmentCreate a JavaScript environment