Install Angular CLI.


1 ) Download current Node.js and install

2)  Open Node.js command prompt right side click as a administrator.

3) Write command : npm install -g @angular/cli

4) Go to the folder where you want to create project. cd Development

5) Create new project "my-first-app" : ng new my-first-app
? Would you like to add Angular routing? No
? Which stylesheet format would you like to use? (use arrow keys) Press Enter

6) Go to your project : cd my-first-app

7) Build project : ng serve

8) Go to your browser http://localhost:4200/

9) Hurry your first project is running.

                       




Share

& Comment

0 comments:

Post a Comment

 

Copyright © 2019 HART™ is a registered trademark.