Is it possible to run Ionic 3, Ionic 4 and Ionic 5 on the same machine?

Has projects in different versions and I would like to know if the Ionic Framework supports support of different versions on the same machine?

This is a really confusing question, although virtually none of that is your fault.

“Ionic” consists of several parts, which change independently. The CLI is the part that “runs” on your development machine. It does not have anything to do with the distributed app binary that runs on your users’ devices. The framework is incorporated into your app binary, so it would be unusual to speak of it “running” anywhere (although I guess in a sense it “runs” as part of the apps it’s included in).

So, either way, the answer to your question is “yes”, but in two different senses. Yes, one instantiation of the Ionic CLI can build apps with versions 3/4/5 of the framework. Even if it couldn’t, for some reason, something like nvm can allow you to install multiple versions of the CLI in little sandboxes. And yes, one device can run Ionic apps built with different versions of the framework.

1 Like