How to install Angular-CLI in Windows 7 ?
How to install Angular-CLI in Windows 7 ?
Step 1: Ensure NodeJS already installed in your machine:
Because we want npm(node package manager) to install angular-cli in our machine.
If you do not know how to check whether it is installed or not, run the below command to check this,
Here npm 3.10.10 is installed, if you not getting similar response then you did not install nodejs in your windows 7 machine.
Refer the below posts to install NodeJS in Windows 7:
Refer the below posts to install NodeJS in Windows 10:
Step 2: Command to install angular-cli:
-g installs angular-cli globally in our machine, meaning we dont want to set any paths externally to run the application from anywhere. -g will take care of this.
Command to install angular-cli:
npm install -g @angular/cli
Now it is installing:
Installation completed:
Step 3: Verify your installation:
To verify run the below command:
ng -v / ng -version