How to install Angular CLI? Step by Step guide

Prerequisites

  • Node 6.9.0 or higher
  • NPM 3 or higher

Download and run the latest MSI.

node version

Installation

Run the below command in command prompt

npm install -g @angular/cli

Add

C:\Users\{yourName}\AppData\Roaming\npm

 to the PATH variable.

Run ng -v to verify

angularcli version

Now we have finished installing the Angular CLI, lets see how to build a simple application using Angular CLI 

4 comments

Join Discussion

This site uses Akismet to reduce spam. Learn how your comment data is processed.