npm install cordova -g cordova create TestApp cd TestApp cordova plugin add https://github.com/forcedotcom/SalesforceMobileSDK-CordovaPlugin cordova platform add android cordova platform add ios cordova prepare
For more information, check out Salesforce Mobile SDK Development Guide