Reputation: 189
The recent version is 3.2.0
and I'm facing lot's of issues with it like the ionic serve
command not working.
Upvotes: 17
Views: 58399
Reputation: 1
Sometimes it throws error while overwriting the existing files , so add --force
Ex, If you want to downgrade to version 3.20, run:
npm i -g [email protected] --force
Upvotes: 0
Reputation: 81
First thing first, uninstall the current version:
npm uninstall -g ionic
then, install the version you want :
npm install -g ionic@"the version for example @3.20.0"
Upvotes: 2
Reputation: 1503
You can downgrade to your old version by running below command:
npm install -g [email protected]
Get your version here
Upvotes: 14
Reputation: 53
You may try uninstalling it first: npm uninstall -g ionic
then install it again with the version that you want to install npm install -g [email protected]
then check ionic version with ionic --version
you may need to restart your terminal to get the latest version running
Upvotes: 4
Reputation: 2940
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
Upvotes: 33