Angular 4 Installation
In this chapter, we will discuss the Environment Setup required for Angular 4. To install Angular 4, we require the following −
Angular 4 Requirement
we require the following
- Angular CLI
- IDE for writing your code
NodejsFirst Nodejs installed on your system, type node –v in the terminal.
This will help you see the version of nodejs currently installed on your system.
C:\>node –v v6.11.0
If it does not print anything, install nodejs on your system. To install nodejs, go the homepage https://nodejs.org/en/download/ of nodejs and install the package based on your OS.
The homepage of nodejs will look like the following −
To install nodejs, go the homepage Download of nodejs and install the package based on your OS. if npm is installed or not, type npm –v in the terminal.
C:\>npm –v 5.3.0Go and download Visit the homepage cli angular of angular to get the reference of the command.
Type npm install –g @angular/cli, to install angular cli on your system.
You will get the above installation in your terminal, once Angular CLI is installed. You can use any IDE of your choice, i.e., WebStorm, Atom, Visual Studio Code, etc.