How to Re-Install Angular Cli in windows

How to Install Angular Cli in windows

Step 1: 
Run The Command Prompt As Administrator.

Step 2:
Run  : npm uninstall -g angular-cli
Step 3:
Run npm cache clean
Step 4:
Run : npm cache verify
Step 5:
 Run :npm cache verify --force

Step 6:
Now Delete  the following the paths
C:\Users\<User Name>\AppData\Roaming\npm and
C:\Users\<User Name>\AppData\Roaming\npm-cache
Step 7:
Restart the Computer
The Angular CLI Successfully Uninstalled.

Step 8:
To install the Angular CLI, open a terminal window, and run the following command:
Run : npm install -g @angular/cli

To Check the Version

Run : ng version

Now you can play with latest Angular CLI

Post a Comment