How can I install an older version of PhoneGap using a command line?
I am familiar with the following installation command:
"$ sudo npm install -g phonegap"
This however only installs the latest version.
PhoneGap and Cordova Install the plugin on the Settings/Preferences | Plugins page, tab Marketplace. PhoneGap and Apache Cordova are frameworks for developing mobile application with single HTML, CSS, and JavaScript/TypeScript code base and targeting various mobile platforms, including Android.
This is demonstrated below: In this case, my version is the same, but if I wanted to update, I'd run: npm update -g phonegap.
npm install -g phonegap@<version>
You need to know the exact version number, but this should work. More info at the following link.
https://www.npmjs.org/doc/cli/npm-install.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With