upgrade cli to angular 9 globally code example
Example: update angular cli
For updating angular cli type this command :
ng update @angular/cli @angular/core
For updating angular cli type this command :
ng update @angular/cli @angular/core