Checking version of angular-cli that's installed? Checking version of angular-cli that's installed? angular angular

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