angular on update code example Example: update angular npm uninstall -g @angular-cli npm install -g @angular/cli@latest