Set up the Development Environment

You need to set up your development environment before you can start developing Angular Applications.

Install Node.js® and npm if they are not already on your machine.

Verify that you are running Node.js v8.x or higher and npm 5.x or higher by running the commands node -v and npm -v in a terminal/console window. Older versions produce errors.

We recommend nvm for managing multiple versions of Node.js and npm. You may need nvm if you already have projects running on your machine that use other versions of Node.js and npm.

Then install the Angular CLI globally by running:

npm install -g @angular/cli

The Angular CLI

The Angular Command Line Interface (CLI) is a tool to initialize, develop, scaffold and maintain Angular applications. For more info about the Angular CLI visit https://github.com/angular/angular-cli/wiki

If you have an older version of the CLI installed on your computer, make sure you properly update to the latest Angular CLI. See instructions here: https://github.com/angular/angular-cli#updating-angular-cli

Install the project dependencies

Go to the folder you downloaded the project files, unzip it and open a terminal in that folder.

Then run npm install to install all the project dependencies.