How To Check Angular CLI Version In Command Prompt

Angular Wiki
  • english
How to Check Angular CLI Version in Command prompt

Angular CLI version Check

Arunkumar Gudelli 1 min read

To Check Angular CLI version use ng --version or ng v or npm list -global --depth 0 commands.

ng --version command returns the details of version of Angular CLI installed and in addition to that version of Angular development packages like @angular-devkit/architect,rxjs etc.. as shown below.

Angular CLI: 8.1.1 Node: 10.16.0 OS: win32 x64 Angular: ... Package Version ------------------------------------------------------ @angular-devkit/architect 0.801.1 @angular-devkit/core 8.1.1 @angular-devkit/schematics 8.1.1 @schematics/angular 8.1.1 @schematics/update 0.801.1 rxjs 6.4.0
Check Angular CLI version

Check Angular CLI version

Or We can use npm list -global to list all the packages versions installed on our machine.

In that list we can check for Angular CLI version.

For viewing specific lists at different levels use --depth.

npm list -global --depth 0 +-- @angular/[email protected] +-- @angular/[email protected] +-- [email protected] +-- [email protected] +-- UNMET PEER DEPENDENCY rxjs@^6.0.0 +-- [email protected] `-- UNMET PEER DEPENDENCY zone.js@~0.8.26

To Update Angular CLI version follow the below Tutorial

How To Update Angular CLI Version

Avatar

Arunkumar Gudelli

Liked this post? Subscribe Let's go ⭐Please star Angular Wiki on GitHub! ↗NextHow to add conditional class in Angular using ngClassPreviousAngular Date Pipe & formatting dates in Angular with examples

Từ khóa » Ng V