Cordova install platforms/plugins from config.xml
Upd: Official docs on this topic: http://cordova.apache.org/docs/en/latest/platform_plugin_versioning_ref/index.html
Here is some docs on this feature from Tools Release: April 21, 2015:
When adding plugins or platforms, use the --save flag to add them to config.xml.
Ex: cordova platform add android --save.
Existing projects can use cordova plugin save and cordova platform save commands to save all previously installed plugins and platforms into your project's config.xml.
Platforms and plugins will be autorestored when cordova prepare is run. This allows developers to easily manage and share their dependenceis among different development enviroments and with their coworkers.
To install all plugins from the config.xml file you run:
cordova prepare
Check what plugins are loaded with:
cordova plugin list
Apparently running a command like cordova serve
will automatically add all missing platforms/plugins !