Home > UI/UX Development > JavaScript > Angular JS > How to create/build web application in Angular?

How to create/build web application in Angular?

1. Download and install Node Package Manager(npm)

Link to download npm (https://nodejs.org/en/download/)

2. Then install ANGULAR CLI globally

Open cmd and Run command

It can install angular globally

3. To Check version on command

4. Create new project

Open terminal and run command

Here we create project name my-app

Angular cli installs npm packages and creates project files

5. Run project

Open command prompt and run following command

ng serve lunch server and rebuild the app

Using –open or just -o you automatically open browser on http://localhost:4200/

This Article is TAGGED in , . BOOKMARK THE permalink.

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">