angular material get started code example
Example 1: angular npm angular material
npm i @angular/material
Example 2: ng add @angular/material
npm install --save @angular/material @angular/cdk @angular/animations
Example 3: install angular material
ng add @angular/material