menu

DEEP DIVE INTO

Angular

Topic:Installation

menu

Installation of Angular is too easy

Step 1:

To download Node Js, you can either use this URL: https://nodejs.org/en or click on the word "Node Js".

Please download the recommended stable version, as the current beta version may cause issues.

It is advisable to use the stable version that updates with nodes. It is recommended to only download the recommended version.

Step 2:

Install Node Js, just double-click on the downloaded file. Install it with the default steps the node provides, Please ensure that the NPM checkbox is selected.

Node installation

step 1 - Click on the next button

For step 2 of the Node installation process,

 Accept the terms of the license agreement and click "Next."

For step 3 of the Node installation process

please leave the location as the default and proceed by clicking the "Next" button.

Node installation step 4

Check if Node Package Manager is installed. If not, download the Node.js executable file, then repeat the steps and click on the "next" button.

Node installation step 5

Do not check the check box and click next button

Node installation step 6

click the install button

Here is a guide to check if Node.js is properly installed.

Open the command prompt or press Window+R or  🪟+R on the desktop. It will open a command prompt for you. Which looks like the below screenshot.

Command Prompt on window

Run command on command prompt

command: node -v, and press enter - My system shows node version 18.16.0

Install Angular CLI

CLI provides a command line interface to work with the Angular framework, making it very convenient.

Execute npm install @angular/cli -g or npm i @angular/cli -g command on the command prompt

The above command will install angular-cli globally on your machine.

To check if angular-cli is installed properly on the system, run the command ng version on the command prompt. It will display the angular version, node version, npm version, and operating system version and its package details on the command prompt.

Angular is now available on machine

!! Yeeee, At this point, you are ready to rock and roll, now you have angular on your system. Be ready to create a Hello World project in Angular with the help of Angular-CLI.

info
1280 x 720 px