


If not, please leave the problem you are facing as a comment on this video and we will try to help as soon as we can. Hopefully this time it installs successfully. Step 4 : Run Command Prompt as an Administrator and try to install Angular CLI again using the following command. Step 3 : Reinstall Node.js by downloading the appropriate installer for your operating system from the following link. Right click on "Node.js" and select "uninstall" from the context menu. On a windows machine you can uninstall node.js from Control Panel\All Control Panel Items\Programs and Features. Step 2 : Once you have the "npm" folder deleted, uninstall node.js.

Please note : If you cannot find "AppData" folder, make sure in your windows operating system, you have "Show hidden files, folders, and drives" option is turned on. Step 1 : Delete "npm" folder from the following path If you run into any problems installing Angular CLI, follow these steps and hopefully Angular CLI will be installed successfully. To verify the version of Angular CLI installed, execute the following commandĪt the time of this recording, I have Angular CLI version 1.4.2 installed on my machine as you can see from the screenshot below. Npm i -g you see a tree structure as shown below, you have Angular CLI installed successfully. So the above command can also be rewritten as shown below Npm install -g can also use i as shortcut for install. Flag -g installs Angular CLI globally on your machine. Run Command Prompt as an administrator and execute the following command. Click on the correct download link depending on the Operating System you have. You can get the latest version of Node and NPM from the following website.

To check the versions that you have on your machine type the following commands in a command window. Prerequisites for installing Angular CLI : To install Angular CLI you should have installed Node 6.9.0 or higher, and NPM 3 or higher In this video we will discuss how to install Angular CLI Part 1 - What is Angular CLI | Text | Slides
