Introduction
Follow these steps to update your Angular version.
The first thing you need to do is check the currently-installed version on your machine using the command ng –version.
My system already has the latest version installed. For Angular 8, you should have @angular/cli v8.3.19 installed, if you don’t have Angular v8.3.19 installed you first need to update to it using this command.
Next, you can update Angular 9 using this command:
Updating the Global Angular CLI Version
After updating your project, you also need to update the global Angular CLI version: