How to check the version of Angular Material

I am using Linux and I want to know if I can check what version of angular-material am using. I’m using bower for installing/updating packages.

Answer

If installed with npm

npm list @angular/material

If installed with yarn

yarn list @angular/material

If installed with bower, as in OP case

You can check out what version of angular-material you use by opening the following file:

bower_components/angular-material/bower.json

which will display something like that:

{
  "name": "angular-material",
  "version": "0.11.0",
  ...
}

Or as Matt pointed, use bower list, then lookup for angular-material.