How to know which version of ionic is being used in my project

4

I'm working on an ionic project in my company, but I do not know what version it was made, and who did not work in the company any more, how do I find out which version it was created in?     

asked by anonymous 04.04.2017 / 22:17

1 answer

4

You can run the command ionic info in the project folder

The output will look something like:

C:\User\ProjetoIonic> ionic info
Cordova CLI: X.X.X
Ionic Version: X.X.X
Ionic CLI Version: X.X.X
Ionic App Lib Version: X.X.X
OS: Versão do sistema
Node Version: vX.X.X

If the version of ionic is very old, it may appear that "info is not a valid task", so you can use the command ionic lib

The output will look something like:

C:\User\ProjetoIonic>  ionic lib
Local Ionic version: X.X.X 
Latest Ionic version: X.X.X
* Local version up to date
    
04.04.2017 / 22:27