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