Ionic v 1.1

hi all,

how can I update my ionic version from command line of my linux machine? now my ionic version is 1.1

npm update -g ionic
!!!

and if I have a project with ionic v 1.1 and I doing npm update -g ionic automatically the version of the project is updated? or I must doing another step?

AFAIK, it will not update existing ionic projects.

You’ll have to update manually your bower.json file with :

  "devDependencies": {
    "ionic": "driftyco/ionic-bower#1.0.0-rc.1"
  }

and update ionic with

ionic lib update

ok tonight I will try it and I reply the results :smile:
thanks

I do it in this order:
npm -g update ionic
cd myapp
ionic lib update
after I go to see the bower.json and I see that the line that you said is just the same… I don’t modify that line and I have this code:

"ionic": "driftyco/ionic-bower#1.0.0-rc.1"

is allright??
I tested my app and it’s ok!

It should be ok.

In your folder app, do

ionic lib

you should have

Local Ionic version: 1.0.0-rc.1 (…/www/lib/ionic/bower.json)
Latest Ionic version: 1.0.0-rc.1 (released 2015-03-16)

  • Local version up to date

I do it it’s ok thanks