Search⌘ K
AI Features

Create an Angular Project

Explore the essential steps to create an Angular project using the Angular CLI, install Node.js and npm, and run your application locally. This lesson helps you establish a solid foundation for building Progressive Web Apps by guiding you through workspace creation and project setup with real-time development features.


TL;DR;

Suppose you are already familiar with Angular and have already previously created Angular apps on your current machine. In that case, you can skip this lesson and jump directly to the next one.


Install Node.js

Node.js is a JavaScript runtime built on Chrome’s V8 JavaScript engine.

We can download it from the official website. To verify the installed version or to prove that the installation was successful, run the command node -v in a terminal or console window.

Angular requires the current or LTS (Long Term Support) version.

Shell
C:\>node - v
Welcome to Node.js v12.4.0

Install a package manager

In order to download and install the libraries, we will need a package manager. We can choose which one to use:


However, if you have already installed Node.js, you probably have already also ...