DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
Building Scalable Real-Time Apps with AstraDB and Vaadin
Register Now

Trending

  • Does the OCP Exam Still Make Sense?
  • You’ve Got Mail… and It’s a SPAM!
  • Revolutionizing Algorithmic Trading: The Power of Reinforcement Learning
  • How To Become a 10x Dev: An Essential Guide

Trending

  • Does the OCP Exam Still Make Sense?
  • You’ve Got Mail… and It’s a SPAM!
  • Revolutionizing Algorithmic Trading: The Power of Reinforcement Learning
  • How To Become a 10x Dev: An Essential Guide

How do you check (and update) your PhoneGap version in 3.0?

Raymond Camden user avatar by
Raymond Camden
·
Sep. 06, 13 · Interview
Like (0)
Save
Tweet
Share
6.21K Views

Join the DZone community and get the full member experience.

Join For Free

a tip of the rage wolf to fellow adobian brian leroux for his help with this blog post. and by help, i mean he basically explained it all to me and i'm just making it pretty.

one of the big changes to phonegap 3.0 is how you install it. previously, you would download a zip file, expand it, and have all the bits you need. now the installation process has you use npm (node package manager) to grab the bits.

i've been using node and npm for a while, but i'm definitely still a bit unsure of how it works. the question i had was, how would i be able to tell when a new version was released and how would i get my copy updated?

first, remember that the phonegap cli has a -v argument that tells you the current version you have installed:


currently, the phonegap site only mentions 3.0 and not anything more specific, so to compare your version to the latest in npm you would do "npm info phonegap version". this is demonstrated below:

in this case, my version is the same, but if i wanted to update it, i'd run: npm update -g phonegap . i always use sudo in front but you may not have to do that (especially on windows ;) ).

i hope this helps. tomorrow morning i'll be blogging about how plugins have changed.



Npm (software) POST (HTTP) Fellow (computing) Sudo Brian (software) Grab (software) Blog Download

Published at DZone with permission of Raymond Camden, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Trending

  • Does the OCP Exam Still Make Sense?
  • You’ve Got Mail… and It’s a SPAM!
  • Revolutionizing Algorithmic Trading: The Power of Reinforcement Learning
  • How To Become a 10x Dev: An Essential Guide

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com

Let's be friends: