To check the version of Angular CLI, you can use any of the ng --version
, ng version
, or ng v
commands. All these commands return the version of the Angular CLI along with some additional information regarding the version of Angular development packages like @angular-devkit/architect, rxjs, etc.
All these commands will give you output something like this:
OR, you can also use the command npm list -global
, this will list down all the packages’ versions installed on your system.
To view the specific lists at different levels use the use --depth
.
Below is the output of the npm list -global --depth 0
command: