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

- 11,875
- 18
- 85
- 108

- 189
- 1
- 1
- 5
7 Answers
npm install -g ionic@version_number
ex: if you want to install ionic 2.5.0,
npm install -g ionic@2.5.0
edit: to list all versions of ionic, npm info ionic

- 2,920
- 1
- 20
- 36
You can downgrade to your old version by running below command:
npm install -g ionic@3.9.2
Get your version here

- 2,833
- 2
- 15
- 26

- 1,503
- 11
- 21
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 ionic@x.x.x
then check ionic version with ionic --version
you may need to restart your terminal to get the latest version running

- 53
- 6
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"

- 41
- 4
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 ionic@3.20 --force
I like prefer use version 6
npm install @ionic/angular@6

- 1
- 4
-
Why? What is the advantage of the other solutions provided here? – Yunnosch Apr 18 '23 at 18:34
-
Sorry, I meant "... over the other solutions ....". – Yunnosch Apr 18 '23 at 22:22