Ionic cli is not getting updated on
npm install ionic -g
After npm install ionic -g , I was expecting it wil update ionic cli version to recent as well.
The document to upgrade says ionic cli is 2.1.0. But i cant see it getting updated.
Run ionic info from terminal/cmd prompt: (paste output below)

Uninstall Ionic CLI first, and then reinstall.
Important: if you have installed the
betacli you should runnpm uninstall -g ionicfirst. You need version2.1.0for this release. Check your cli version by runningionic -vin the command line.
—https://github.com/driftyco/ionic/blob/master/CHANGELOG.md#steps-to-upgrade-to-rc0
Hello! Thanks for opening an issue with us! The above link to the changelog should help you with this issue. Thanks for using Ionic!
i tried uninstall and install multiple times.. but i keep getting the version as beta.
I first ran
npm uninstall ionic -g
npm install ionic -g
it dint work. Later tried to clear cache,
tried to do uninstall with targeted version to uninstall beta and also tried to install with 2.1.0 targeted install command as well.
But nothing works it keeps showing
2.0.0-beta.25
Tried restarting my PC and did the same as well. Nothing helps.
Finally I managed to solve it... uffff.
if you get ionic -v even after uninstalling..
run
where ionic
and find out the location of your installtion.
for me there was a version installed in
C:\>where ionic
C:\Program Files (x86)\nodejs\ionic
C:\Program Files (x86)\nodejs\ionic.cmd
I am not sure how it went there last time. but after manually deleting them, My ionic cli is now updated and my project is able to render in browser.
Thanks a lot
Most helpful comment
Finally I managed to solve it... uffff.
if you get ionic -v even after uninstalling..
run
and find out the location of your installtion.
I am not sure how it went there last time. but after manually deleting them, My ionic cli is now updated and my project is able to render in browser.
Thanks a lot