Checking version of angular-cli that's installed?

Issue

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.

Solution

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

ng --version

Answered By – Meir

Answer Checked By – Mary Flores (AngularFixing Volunteer)

Leave a Reply

Your email address will not be published.