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