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