cli commands to update angular version code example
Example 1: update angular cli globally
npm update @angular/cli -g
Example 2: update angular cli
For updating angular cli type this command :
ng update @angular/cli @angular/core
npm update @angular/cli -g
For updating angular cli type this command :
ng update @angular/cli @angular/core