how upgrade angular cli code example
Example 1: update angular cli globally
npm update @angular/cli -g
Example 2: angular cli update
content_copy
ng update @angular/cli @angular/core
npm update @angular/cli -g
content_copy
ng update @angular/cli @angular/core