Checking version of angular-cli that's installed?

angular cli can report its version when you run it with the version flag

ng --version

Execute:

ng v

or

ng --version

tell you the current angular cli version number

enter image description here


ng --version or short ng v kinda correct answers, but there are some important details:

If you running ng v inside your angular cli project folder it will show your local cli version installed in your project (package.json)

If you running ng v outside your angular cli project folder it will always show the global cli version


You can use npm list -global to list all the component versions currently installed on your system.
For viewing specific lists at different levels use --depth.

e.g:

npm list -global --depth 0

Go to your folder path in cmd where your angular is installed and type ng --version it will show your angular version. Thanks.