Create new Angular project

Steps to create Angular project

We first need to install Node.js, because we need to use npm command to install angular/cli.

1) For it we need to go Node js Org.

2) Select latest long term stable version which is 24.11.1 during this article.

3) Because latest LTS are stable they don’t have experimental features & existing features are tested.

4) Node team will support for bug fixes & security patches for long term.

5) After node.js installation. Follow below steps.

Since browser understand only java script. Angular & type script don’t work directly in browser. 

So we need to install Angular CLI, it help in converting angular & typescript into java script.

Command Line Interface have 4 purpose

  1. For creating angular project.
  2. Running angular project in development environment.
  3. Building 
  4. publishing angular project.
Command = npm install -g @angular/cli
 
After successful installation of Command line interface.
ng = angular
new = creating application

Execute this command – ng new first-angular-app

Leave a Comment

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

Scroll to Top