Instalar CLI angular
npm install -g @angular/cli
ng new my-dream-app
cd my-dream-app
ng serve
2 Programmers 1 Bug
npm install -g @angular/cli
ng new my-dream-app
cd my-dream-app
ng serve
npm install -g @angular/cli
ng add @angular/material
npm install -g @angular/cli //make sure you have node/npm installed
ng new <appname> // eg: ng new my-app
cd <appname> // cd my-app
ng serve
Installing Command Angular
npm install -g @angular/cli
ng version
ng new ProjectName
cd ProjectName
ng serve
//First go in the folder where you want to add new component in angular then use given command
ng g c componentName
//or
ng generate component componentName
//If you are in root folder and want to make a sub component then
// componentName is complete path of that folder with componentName
ng serve