So now we need to set up the environment for angular 7
To install Angular 7, we require the following −
- Angular CLI
- IDE for writing your code
Nodejs & npm
To get started with the project setup, make sure you have nodejs installed. You can check the
version of node in the command line using the command,
as shown below −
If you do not get the version, install nodejs from their official site − https://nodejs.org/en/.
Once you have nodejs installed, npm will also get installed with it. To check npm version, run :
in command line as shown below −
So Now we have node and npm in our machine .
Install Angular :
To install Angular 7, go to the site, https://cli.angular.io and install Angular CLI.