What do you need to do in order to be able to run Angular CLI on your computer?

Experience Level: Junior
Tags: Angular Angular CLI

Answer

In order to run the Angular CLI, you need to install it first.

To install it, follow these steps:

1) Install Node.js

2) Install npm

3) Execute the following command from the command line:

npm install -g @angular/cli

4) Verify the Angular CLI is successfuly installed by running ng from the command line

ng
Related Angular CLI job interview questions
Angular CLI for beginners
Angular CLI for beginners

Are you learning Angular CLI? Try our test we designed to help you progress faster.

Test yourself