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 at least node 6.9.x and npm 3.x.x by running node -v and npm -v in a terminal/console window. Older versions produce errors, but newer versions are fine.

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 versión 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.

Last updated