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