How to Check Angular Version (Application+CLI)

Channel: Linux
Abstract: or how to check installed Angular version on my systemyou can find what angular version is installed on my system. Check Angular Version in Applicatio

How do I find the angular version used in my application? or how to check installed Angular version on my system?

This tutorial will help you to find the Angular version used by the application. Also, you can find what angular version is installed on my system.

Check Angular Version in Application

You can find the angular version used by the application under package.json file. To check this Go into node_modules/@angular/core/package.json file and check version field.

You will see the version like this:

  "version": "8.2.14"
Check Installed Angular CLI Version

Angular provides ng command to work with command line. To find out installed Angular version execute following command from terminal:

ng --version 

Output:

     _                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/


Angular CLI: 8.3.0
Node: 12.18.2
OS: linux x64
Angular: 8.2.14
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.803.29
@angular-devkit/build-angular     0.803.29
@angular-devkit/build-optimizer   0.803.29
@angular-devkit/build-webpack     0.803.29
@angular-devkit/core              8.3.29
@angular-devkit/schematics        8.3.0 (cli-only)
@angular/cli                      
@ngtools/webpack                  8.3.29
@schematics/angular               8.3.0 (cli-only)
@schematics/update                0.803.0 (cli-only)
rxjs                              6.4.0
typescript                        3.5.3
webpack                           4.39.2

Ref From: tecadmin
Channels: Angular

Related articles