Setup Angular 2/4/5 Development Environment

Overview Of Angular 5


Angular is a JavaScript framework that handles component based development of web applications, This article mainly deals with steps involved in configuring and setting up the environment in your local machine. You Can use Angular CLI to create the angular application. Inorder to setup Angular environment you need to first download and install NodeJS and NPM (Node package manager).

Image result for angular 5

Set up the Development Environment

You need to set up your development environment before you can do anything.

Download and install Node JS If not available already Download Node JS.
npm install -g @angular/cli

Create a new project

The New Project can be created using the following angular CLIO Command.
ng new my-app

Serve the application

Once you created the sample application, you can use the following command to run the application.
cd my-app
ng serve --open

The ng serve command launches the server, watches your files, and rebuilds the app as you make changes to those files.
Using the --open (or just -o) option will automatically open your browser and try teaching the following URL http://localhost:4200/.



Comments