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