How to setup angular 5 in windows

03:18

Step 1: 

First open command prompt (CMD) and type following command

change default directory to your coding repository like D:\angular_projects

npm install @angular/cli -g

please wait until completed.

Step 2: 

After step 1 please check angular installed or not by using following command


ng –v


Step 3:

Create new project by using following command

ng new myproject –style=scss –routing 



Step 4:

Please run the your project in browser

Cd myproject

ng serve



Step 5:

This is basic layout in angular





No comments:

Powered by Blogger.