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.
Type npm -v in the terminal to check if npm is installed or not in our system. It displays the version of npm. Angular installations are easy with the help of Angular CLI. Visit https://cli.angular.io/ to get the reference of the command.
Checking the Angular VersionOpen the Terminal + view in your project and type ng --version . For recent versions of Angular, this will list the versions of several Angular packages that you have installed in your project.
Angular Material is a User Interface (UI) component library that developers can use in their Angular projects to speed up the development of elegant and consistent user interfaces. Angular Material offers you reusable and beautiful UI components like Cards, Inputs, Data Tables, Datepickers, and much more.
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.
Looks like you can use npm ls @angular/material
to tell you the exact version.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With