Actualizar CLI angular
For updating angular cli type this command :
ng update @angular/cli @angular/core
Ankur
For updating angular cli type this command :
ng update @angular/cli @angular/core
content_copy
ng update @angular/cli @angular/core
First, update to the latest version of 8
ng update @angular/cli@8 @angular/core@8
Then, update to 9
ng update @angular/cli @angular/core
npm uninstall -g @angular-cli
npm install -g @angular/cli@latest
npm update @angular/material @angular/cdk
ng update @angular/core @angular/cli --force