Example of Ionic's Updating Feature

This post is more than 2 years old.

Ok, so this will be a pretty short post, and the main gist is, "It works as advertised", but I had not had a chance to actually test this until recently and I was pretty darn impressed with how smoothly it worked so I thought I'd share.

If you use Ionic, you know that they update pretty frequently, and you may want to update your project to the latest framework bits. Turns out there is an incredibly easy way to do this. Just go into your Ionic project and run ionic lib:


It reports on the version of Ionic used in a project versus the latest release. Then to update, you do ionic lib update:


Confirm you want to do the update, and then just stand back. The CLI will grab the bits and take care of everything. I'd kill for this within other projects. Just for completeness sake, this is what you get when the library you're testing is already up to date.


Raymond Camden's Picture

About Raymond Camden

Raymond is a senior developer evangelist for Adobe. He focuses on document services, JavaScript, and enterprise cat demos. If you like this article, please consider visiting my Amazon Wishlist or donating via PayPal to show your support. You can even buy me a coffee!

Lafayette, LA https://www.raymondcamden.com

Archived Comments

Comment 1 by Zarko Hristovski posted on 3/11/2015 at 2:56 PM

A very useful feature of ionic-cli indeed.

Note that this normally works, except maybe when/if you have tried to update from a beta to the latest rc.0 version. I had to do a manual update, following this recommendation - http://forum.ionicframework...