how to check angular cli version code example
Example 1: how to check for angular cli version
ng --version
Example 2: check angular version
Open the Terminal + view in your project and type
ng --version
this will list the versions of several Angular packages that you have installed in your project.