angular installation code example
Example 1: install angular cli
npm install -g @angular/cli
ng new my-dream-app
cd my-dream-app
ng serve
Example 2: angular install
npm install -g @angular/cli
Example 3: installing angular 10
$ npm install -g @angular/cli
Example 4: angular new project
ng new project_name
Example 5: installing angular 10
$ cd angular-example-with-routing
$ ng serve
Example 6: installing angular 10
$ cd ~
$ ng new angular-example-with-routing