how to update global angular to latest version 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