How to update my phonegap version?

后端 未结 8 1902
感动是毒
感动是毒 2021-02-01 05:37

How can I update my PhoneGap version in my project?

I have download the latest version of phonegap..but how to update?

I\'ve tried grep myAppPath .ipa \'uniqueId

8条回答
  •  爱一瞬间的悲伤
    2021-02-01 06:12

    Updating Cordova and Your Project

    After installing the cordova utility, you can always update it to the latest version by running the following command:

    $ sudo npm update -g cordova
    

    Use this syntax to install a specific version:

    $ sudo npm install -g cordova@3.1.0-0.2.0
    

    Run cordova -v to see which version is currently running. Run the npm info command for a longer listing that includes the current version along with other available version numbers:

    $ npm info cordova
    

提交回复
热议问题