update global angular cli to latest code example Example: update angular cli globally npm update @angular/cli -g