1. Create new project ng new project-name --standalone=false (index
  2. To run project ng serve --o
  3. To create a angular component use ng g c component-name --standalone false --skip-tests (To create a specific module when there are multiple modules in the same project, use ng g c component-name --standalone false --skip-tests --module=./auth.module.ts. Otherwise, the import is skipped automatically with ng g c component-name --standalone false --skip-tests --skip-import)
  4. To create a module and routing (both in one command): ng g m module-name --routing
  5. To create a service ng generate service my-service --skip-tests