How to angular setup in local computer

Angular is a front-end framework for building online apps. It creates logics and methods for a class using typescript by default, but the browser is unaware of typescript, the most effective framework for creating single-page applications. you want to run an angular setup/install project on your computer, you need to follow below some steps-

Angular setup/install in local computer/laptop

Step 1: Download and install node js on your computer/laptop
Download here ->https://nodejs.org/en/

Step 2: Install the Angular CLI
Open your command line (cmd), and type npm install -g @angular/cli

Step 3: Create new project (folder)
After then command prompts on type ng new my-ag-app this one for "my-ag-app" named creating folder on your local drive and use cd command for find file path in command prompts.

Step 4: Run angular project
Angular project run for use this one command ng serve

Step 5: Open your browser
Run this one link on your browser http://localhost:4200/ and after your angular project complate setup and install in localhost, see below screeshot-
How to angular setup in local computer

Post a Comment

0 Comments