Issue
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?
Solution
Edit: When this answer was written, there was only AngularJS 1.x. Look in the answers below for Angular versions >= 2.
AngularJS does not have a command line tool.
You can get the version number from the JavaScript file itself.
Header of the current angular.js
:
/**
* @license AngularJS v1.0.6
* (c) 2010-2012 Google, Inc. http://angularjs.org
* License: MIT
*/
Answered By – TheHippo
This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0