install all mat modules in angular 8 code example
Example 1: ng add @angular/material
npm install --save @angular/material @angular/cdk @angular/animations
Example 2: install angular material
ng add @angular/material
npm install --save @angular/material @angular/cdk @angular/animations
ng add @angular/material