Checking version of angular-cli that's installed?

bunndan picture bunndan · Dec 7, 2016 · Viewed 432.8k times · Source

Is there a way to check the specific version of angular-cli that's installed globally on my machine? I'm in a Windows environment. *npm -v* and *node -v* only gives me the version of npm and node respectively, and I can't seem to find any commands with ng.

I'm trying to run a project that I'm working on, and it ran on an older version of angular-cli using npm. However, after installing other demo projects, my main project doesn't work anymore without uninstalling and reinstalling angular-cli at the specific version.

Answer

Meir picture Meir · Dec 7, 2016

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

ng --version