Installing Angular CLI

Last Updated: August 13, 2021

In this article we will see how you can install the Angular.js for your single page application development work

You need to install Node.js and the npm package manager in your computer to getting started with Angular Development

With Node.js you can develop and build the client application and NPM is also Node.js application but it helps you to install other Javascript libraries which you need to develop your application

How to install Node.js

You can simply download the installer from

How to check whether you have Node installed

You can run the following code in your terminal (command prompt)

node -v

NPM is distributed with node.js ad when you install the node.js in your machine npm is automatically installed
You can check the npm version with following code

npm -v

Now you have everything to install Angular CLI in your computer.

Install Angular CLI

Angular CLI is command line interface and you can install it in your command line (Terminal in Mac).

You can run the following command in your command line to install the Angular CLI

npm install -g @angular/cli