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