Unable to update ionic cli

node v0.12.7
npm v2.11.3
ionic v1.6.1

unable to update to v1.6.4 :confused:
tried everything, npm install -g ionic is not updating it

Letā€™s try sudo npm uninstall -g ionic and then a fresh install sudo npm i -g ionic

Iā€™m on windows (x64)

and tried npm uninstall -g ionic and then npm i -g ionicā€¦ didnā€™t work :frowning:

did ionic -v
resulted in 1.6.1

And I have to use ionic io init, which isnā€™t available in 1.6.1 :frowning:

Check your PATH environment variable, it may include old nodeJS folders

The great thing is that I can use ionic commands even after uninstalling ionic using

npm uninstall -g ionic
npm cache clean

:smiley: lol

1 Like

i have the same issue.
Iā€™m using ubuntu 14.04 and removed it using ā€œsudo npm uninstall -g ionicā€. I installed it again and still get ionic 1.6.1. Any idea?

Itā€™s a strange solution. Butā€¦

I had the same issue in Ubuntu 14.04.

Running

$ whereis ionic

I get the result: /usr/bin/ionic

Removing this file and installing again with:

# npm install -g ionic

solved my problem.