get angular version cli 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.
Example 3: acheck angular version
ng version [options]