install angular 10 from 10 code example
Example 1: installing angular 10
$ npm install -g @angular/cli
Example 2: installing angular 10
$ cd angular-example-with-routing
$ ng serve
$ npm install -g @angular/cli
$ cd angular-example-with-routing
$ ng serve