To know the Angular CLI version , firstly you should check if Angular CLI is installed or not then you can check the version of Angular CLI
Check if Angular CLI is installed
At first, we need to know if CLI is installed in the system or not. Use the below command to check the same.
ng
If Angular CLI is installed then the above command will return the list of available command :
Install Angular CLI
If Angular CLI is not installed in your system, Then the first task is to install the Angular CLI with below command over the terminal/command prompt.
npm install -g @angular/cli
Check installed version of Angular CLI
You can use the below commands to check the installed version of Angular CLI.
ng --version
If angular CLI is installed properly then, details of the installed version will be shown in the terminal.