Setting up an Angular development environment

Instal Node.js (https://nodejs.org/en/)

NPM is installed as part of the Node.js install

To check that Node.js and NPM have installed correctly, run the following command line statement:

npm --version

The Angular CLI is a toolset for working with Angualar applications. As such it must be installed globally in a development environment

To do this, execute the command line statement below:

npm install -g @angular/cli

Using a command prompt, path to the empty directory you would like to create the new application in. Then type the following command (inserting your application name):

ng new [your application name]

Using a command prompt, path to the root application directory created in the previous step. Then type the following command:

ng serve --open