How to get a version of the ionic framework?

I wonder how to check the ionic version. If I do ionic -v , I will return 1.4.3

Could it be? Has not been released only 1.0.0?

+79
ionic-framework ionic
May 18 '15 at
source share
17 answers

This is the version number of the Ionic CLI, which is different from the version number of the Ionic library. Here are some easy ways to check the version.

In the browser console, you can run ionic.version and it will print the version to the console.

Screenshot of Chrome Dev Tools console

You can also bower.json file in your application and it will show the version number as you see here. https://github.com/ionic-in-action/chapter5/blob/master/bower.json#L5

+80
May 18 '15 at 13:50
source share

Run from the project folder:

 $ ionic info Cordova CLI: 5.0.0 Ionic Version: 1.0.1 Ionic CLI Version: 1.6.1 Ionic App Lib Version: 0.3.3 OS: Windows 7 SP1 Node Version: v0.12.2 

If your CLI is old enough, it will say that β€œinformation is not an acceptable task” and you can use this:

 $ ionic lib Local Ionic version: 1.0.1 (C:\stuff\july21app\www\lib\ionic\version.json) Latest Ionic version: 1.0.1 (released 2015-06-30) * Local version up to date 
+152
Jul 21 '15 at 13:26
source share

In the terminal, the following command returns the version:

 'ionic version' or 'ionic -v' 

returned

 '3.2.0' 

The above version of the CLI. Go to the project folder and use the code below as scw's answer.

 $ cd ionic-project $ ionic info βœ” Gathering environment info - done! Ionic: ionic (Ionic CLI) : 4.2.1 (/usr/local/lib/node_modules/ionic) Ionic Framework : ionic-angular 3.9.2 @ionic/app-scripts : 3.2.0 Cordova: cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1) Cordova Platforms : android 7.1.4 Cordova Plugins : cordova-plugin-ionic 5.2.7, cordova-plugin-ionic-webview 2.2.5, (and 15 other plugins) System: NodeJS : v8.12.0 (/usr/local/bin/node) npm : 6.4.1 OS : OS X Yosemite 
+21
May 30 '17 at 13:02
source share

At some point in time, the object changed from ionic to ionic uppercase.

As of July 2017, you need to put Ionic.version in the console to get the version number.

+6
Jul 26 '17 at 18:05
source share

I get the following output when I run $ ionic info and $ionic lib

  _ _ (_) (_) _ ___ _ __ _ ___ | |/ _ \| '_ \| |/ __| | | (_) | | | | | (__ |_|\___/|_| |_|_|\___| Usage: ionic task args =============== Available tasks: start - Start a new Ionic project with the given name. emulate - Emulate an ionic project on a simulator or emulator. run - Run an ionic project on a connected device. build - Locally build an ionic project for a given platform platform - Configure platform targets for building an Ionic app 
+5
Sep 14 '15 at 13:32
source share

on your terminal, run this command in the ionic project ionic info folder and you will get the following:

 cli packages: (/usr/local/lib/node_modules) @ionic/cli-utils : 1.19.2 ionic (Ionic CLI) : 3.20.0 global packages: cordova (Cordova CLI) : 8.0.0 local packages: @ionic/app-scripts : 3.1.8 Cordova Platforms : android 7.0.0 ios 4.5.5 Ionic Framework : ionic-angular 3.9.2 System: Node : v8.9.3 npm : 6.1.0 OS : macOS Xcode : Xcode 10.1 Build version 10B61 Environment Variables: ANDROID_HOME : not set Misc: backend : pro 
+3
Feb 09 '19 at 11:08
source share

The version method in ionic returns the current version in string format.

+2
May 18 '15 at
source share

Running ionic info in the directory of your project gives all the necessary information about the version of npm, cli, the application script and some other

+2
Mar 08 '19 at 8:55
source share
 $ ionic -v 

CLI 4.12.0

you can find out your version of the framework

 $ ionic info 

all details

+1
May 28 '19 at 5:22
source share

For MacOS, go to the terminal and type ionic -v

OR

For Windows, go to the command line and enter ionic -v

0
Jul 22 '18 at 16:40
source share

ion information

This will give you the ionic version, node, npm and os.

If you only need the ionic version, use the ionic -v .

If your version of the project development and your global versions are different, check them using the commands below.

Use the ionic -g to verify the ion-ionic version of -g globally and to verify the ionic version of the project.

To check the ionic version of a project, use the ionic -v in its path to the project or other information to get details of the ionic and its dependencies.

0
Sep 05 '18 at 19:18
source share

ionic -v or ionic version or other information

0
Dec 10 '18 at 9:42
source share

The ionic structure of the projects is similar to Angular projects, you can get use

ionic info

Team for printing information about the project, system and environment.

enter image description here

This command is an easy way to share information about your settings. If applicable, be sure to run the ionic information in your project directory to display even more information.

We can use --json after ionic info to print ionic info about the system / environment in JSON format

 ionic info --json 
0
May 28 '19 at 5:10
source share

You can use the ionic info command to learn more about the ionic CLI, angular CLI, Node JS version, and NPM version.

0
Jun 16 '19 at 7:00
source share

Run ionic -v to get the ionic version

0
Jun 21 '19 at 8:38
source share

You can find the library version by referring to the package.json file. Under dependencies check the ionic-angular property. You can also check the version of Ionic CLI by typing ionic info in the terminal from the folder of your project.

0
Jul 31 '19 at 13:56
source share

ionic -v

Ionic CLI Update Available: 5.2.4 β†’ 5.2.5
Run npm i -g ionic to update

0
Aug 22 '19 at 4:00
source share



All Articles