Setup Angular CLI in your pc

How to Setup Angular CLI and what are you need for that.

Step 1
Install Node.JS Latest package from site.

Step 2
Choose any one package.
LTS or Current

Step 3
Restart your PC.

Step 6
Type npm install -g @angular/cli
It will take some time like 15-20 minutes, Kindly wait until not complete.

Now you need to go there you want to create project. For example I want to create my project in D drive specific location and you can see cmd is showing C:\Users\Admin>

Step 5
Open Command Prompt or you can use Run cmd

Step 4
Now you need to install Angular CLI in your pc.

Step 7
Type D:

Step 8
Type CD 'your location'

Step 9
Type ng new my-dream-app for Create project

Step 10
Type ng serve for run project

Step 11
Type URL http://localhost:4200/ in your web browser for see project.

Leave a Reply

Your email address will not be published. Required fields are marked *