How can I check which version of Angular I'm using?

FluxEngine picture FluxEngine · Apr 15, 2013 · Viewed 470.5k times · Source

How can I tell which version of Angular I am using?

I have tried:

angular --version
angular --v
angular -version
angular -v

but get -bash: angular: command not found

I know by yeoman --version that I am using 0.9.6

But how do get the angularjs version?

Answer

lolski picture lolski · Jan 22, 2014

For Angular 1 or 2 (but not for Angular 4+) :

you can also open the console on the developer tools of whatever browser you use and type angular.version to access the Javascript object that holds angular version.

Very useful when the script is minified with no header comment.