I am new to Ionic and presently in the initial phase of development. I am presently using Ionic Version 5.4.1 (found out using ionic -v from inside my project directory).
*Windows PowerShell*
*Copyright (C) 2016 Microsoft Corporation. All rights reserved.*
*PS D:\ionic_project\Crud> ionic -v*
*5.4.1*
Some of my functionalities are not working and so I am thinking about going back to Ionic version 4.
Please tell me how to install Ionic Version 4 package from the command line.
Thanks for replying, should I uninstall currently running ionic and reinstall it using the command you have mentioned above?
Or is there any way using which I can download a new project package of ionic V4 without uninstalling currently running ionic which is of version 5.4.1?
You can use NVM( Node Version Manager ) to maintain two or more version of ionic in same system.
this process will not conflict your system and also you can use two version of ionic and node.
this is a link where you can download the NVM - https://github.com/coreybutler/nvm-windows
After installation of this you can use NVM like below in CMD.
nvm install 4.4.0 <-- this 4.0.0 is node version that you want to install
nvm use 4.4.0
<-- check the node version
node -v