Set up the Development Environment
You need to set up your development environment before you can start developing Angular Applications.
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.
npm install -g @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
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 modified 3yr ago