I am trying to upgrade Ionic to the latest version. Looking here, it shows that the latest version is 3.0.0
. I also follow this tutorial.
So I do the following:
sudo npm uninstall -g ionic
sudo npm install -g ionic@latest
console:
Richards-MacBook-Pro:theWhoZoo richardmarais$ sudo npm install -g ionic
Password:
/Users/richardmarais/npm-global/bin/ionic -> /Users/richardmarais/npm-global/lib/node_modules/ionic/bin/ionic
/Users/richardmarais/npm-global/lib
└── [email protected]
But when I run:
ionic -v
I get:
2.1.18
and:
ionic info
I get:
Your system information:
Cordova CLI: 6.4.0
Ionic Framework Version: 3.1.1
Ionic CLI Version: 2.1.18
Ionic App Lib Version: 2.1.9
Ionic App Scripts Version: 1.3.0
ios-deploy version: Not installed
ios-sim version: Not installed
OS: macOS Sierra
Node Version: v7.10.0
Xcode version: Xcode 8.3.2 Build version 8E2002
I would expect it to update the Ionic CLI Version: 2.1.18
to 3.0.0
. Is that a correct assumption? If so, do you know what I am doing incorrectly?
Thanks
ionic -v
is CLI of ionic framework, so the version is correct and version of ionic framework itself is correct. UPD: I didn't say that's a last version of CLI because it's notCLI
,2.1.18
? So am I on the latest version? What about this, announcing cli v3? blog.ionic.io/announcing-ionic-cli-v3sudo
for install ionic. Could you share your output ofsudo ionic -v
?sudo ionic -v
'2.1.18' andionic -v
'2.1.18'