by Sai gowtham

Checking the Angular Version in CLI

In this tutorial, we will learn about how to check the angular version using cli.

When we install an Angular CLI (command-line interface) globally in our system via npm, we can use ng --version command to check the angular version.

ng --version

Output:

➜  ~ ng --version

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

Angular CLI: 9.1.2
Node: 12.14.1
OS: darwin x64

Angular:
...
Ivy Workspace:

Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.901.2
@angular-devkit/core         9.1.2
@angular-devkit/schematics   9.1.2
@schematics/angular          9.1.2
@schematics/update           0.901.2
rxjs                         6.5.4

Here it shows the angular version 9.1.2 .

Or you check the version by inspecting your angular app inside the browser.

<app-root _nghost-wxk-c11="" ng-version="9.1.2">

Top Udemy Courses

JavaScript - The Complete Guide 2020 (Beginner + Advanced)
JavaScript - The Complete Guide 2020 (Beginner + Advanced)
45,614 students enrolled
52 hours of video content
View Course
React - The Complete Guide (incl Hooks, React Router, Redux)
React - The Complete Guide (incl Hooks, React Router, Redux)
284,472 students enrolled
40 hours of video content
View Course
Vue JS 2 - The Complete Guide (incl. Vue Router & Vuex)
Vue JS 2 - The Complete Guide (incl. Vue Router & Vuex)
130,921 students enrolled
21 hours of video content
View Course