npm command to install angular material code example
Example 1: install angular material
ng add @angular/material
Example 2: angular npm angular material
npm i @angular/material
Example 3: install angular cdk
npm i @angular/cdk --save
ng add @angular/material
npm i @angular/material
npm i @angular/cdk --save