How to Install Angular on Windows

Requirements :

How to Install Angular on Windows : To install Angular on your local machine , you need to follow this below :

1 NodeJS :

Angular will need an active LTS or maintenance LTS version of Node.js.

npm package manager :

Precise, the Angular CLI, and Angular applications rely upon npm bundles for some highlights and capacities. To download and introduce npm bundles, you need a npm bundle supervisor. This aide utilizes the npm customer order line interface, which is introduced with Node.js naturally. To watch that you have the npm customer introduced, run npm – v in a terminal window

Install the Angular CLI :

You utilize the Angular CLI to make projects, produce application and library code, and play out an assortment of progressing improvement undertakings like testing, packaging, and arrangement.

To introduce the Angular CLI, open a terminal window and run the accompanying order:

npm install -g @angular/cli

Create a workspace and initial application :

To create a new workspace and initial starter app:

Run the CLI order ng new and give the name my-application, as displayed here:

ng new my-application

The ng new order prompts you for data about highlights to remember for the underlying application. Acknowledge the defaults by squeezing the Enter or Return key.

The Angular CLI introduces the essential Angular npm bundles and different conditions. This can require a couple of moments.

The CLI makes another workspace and a basic Welcome application prepared to run.

Run the application :

The Angular CLI incorporates a worker, so you can assemble and serve your application locally.

Explore to the workspace organizer, for example, my-application.

Run the accompanying order:

cd my-app
ng serve --open

The ng serve order dispatches the worker, watches your documents, and revamps the application as you make changes to those records.

The – open (or just – o) alternative naturally opens your program to http://localhost:4200/.

On the off chance that your establishment and arrangement were effective, you should see a page like the accompanying.


How to Install Angular on Windows

How to Install Angular on Windows

This is how it looks