update nagular cli version code example Example: update angular cli globally npm update @angular/cli -g