ng generate for a project in angular code example
Example: setup new angular project
npm install -g @angular/cli
ng new project-name
cd project-name
ng serve
npm install -g @angular/cli
ng new project-name
cd project-name
ng serve