How to Create a new project in Angular

How to Create a new project in Angular

We will learn how to Create a new project in Angular. We will use Angular CLI to create the angular app.

1. Install Angular CLI

First we will install the Angular CLI, using the npm install command.

npm install -g @angular/cli@latest

Using the above command latest version of Angular CLI will install in your machine.

Finding the Angular Version

ng --version

For creating  a new Angular App run below ng new command with name

ng new appname


Angular application file structure

Leave a Reply

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