How do you use the Cordova CLI to add a specific version of the Cordova framework

From node.js run this command sudo npm uninstall cordova -g to uninstall the current version and to install the specific version run this command sudo npm install -g [email protected]

Check this documentation


I'm not sure quite what you are looking for, but here are instructions on running multiple versions of cordova on the same machine: http://www.mooreds.com/wordpress/archives/1379

Short version, use the npm install cordova@[version] command to install cordova in the current directory, and use the cordova command in node_modules/cordova/bin for all your project commands.

To find out the available versions of cordova, run npm view cordova.