Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I downgrade my ionic cli to the previous version, I had?

The recent version is 3.2.0 and I'm facing lot's of issues with it like the ionic serve command not working.

like image 835
John Wihter Avatar asked May 24 '17 08:05

John Wihter


People also ask

How do I find my ionic CLI version?

To check the globally installed ionic version ionic -g and to check the project's ionic version use ionic -g. To check the project's ionic version use ionic -v in your project path or else ionic info to get the details of ionic and its dependencies.


2 Answers

npm install -g ionic@version_number

ex: if you want to install ionic 2.5.0,

npm install -g [email protected]

edit: to list all versions of ionic, npm info ionic

like image 94
varun aaruru Avatar answered Sep 21 '22 16:09

varun aaruru


You can downgrade to your old version by running below command:

npm install -g [email protected]

Get your version here

IONIC CLI VERSIONS

like image 28
Diluk Angelo Avatar answered Sep 21 '22 16:09

Diluk Angelo