Cool! The latest and greatest update to Angular (is it?) is in, in the coatings of Angular 6. Some of us love shiny new things and wanna switch our Angular 5 projects to 6. Here’s how you can upgrade to Angular 6 from Angular 5 in 2 minutes.
Set timer…. Go!
npm install -g @angular/cli@latest to update global Angular CLI to 6+
npm install @angular/cli@latest to update the project CLI
ng update @angular/cli
ng update @angular/core
If all is well, run
Then finally, if any audit fixing needed, run
npm audit fix