Creating Angular Project:

Installation:

Node.js

npm install -g @angular/cli

 

Step 1: Create the project:

Using angular CLI
https://angular.dev/cli/new

ng new project-name

ng n project-namecod

ngnew.png

https://angular.dev/tools/cli/setup-local

Running the app:

ng serve --open

https://angular.dev/tutorials/first-app#local-development-environment

 

Generating components:

https://angular.dev/cli/generate/component

ng generate component name_of_component [options]