Angular CLI Installation

preview_player
Показать описание
This is a guide of how you can install Nodejs and Angular JS on your computer and then start creating projects in Visual Studio Code. Straightforward, no hidden steps.

=========================

Detailed Step by Step Guide:

1. Install Nodejs from Nodejs website [Must select LTS version and proper architecture, i.e. x64/x86]
2. Ensure these lines are in your environment variables:
A. C:\Users\(Your Username)\AppData\Roaming\npm
B. C:\Program Files (x86)\nodejs\
C. C:\Program Files\nodejs\node_modules\npm\bin
3. Check if the installation is successful by running this command in cmd: node –v
5. In the terminal, type the following command: npm install –g @angular/cli. Then, type the following command: npm install --force [We use force because some of the packages which we are using in the program are outdated, hence the system faces conflicts which do not let us proceed with the installation of these packages.]
6. Check the installation of Angular cli by running this command: ng version

=========================

Thanks for Watching!
Рекомендации по теме