how to upgrade angular version npm 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