updating angular from 7 to 9 code example
Example 1: how to update angular version
content_copy
ng update @angular/cli @angular/core
Example 2: update angular materia;
npm update @angular/material @angular/cdk
content_copy
ng update @angular/cli @angular/core
npm update @angular/material @angular/cdk