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.
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.
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
I'm sure there is a better way but I use the commits section on the Phonegap Github page to snag the actual old version numbers -
https://github.com/phonegap/phonegap-cli/commits/master