create angular project cli with amterial code example
Example 1: install angular material
ng add @angular/material
Example 2: install angular cdk
npm i @angular/cdk --save
Example 3: ng add @angular/material
npm install --save @angular/material @angular/cdk @angular/animations