Chapter 2. Setting Up an Angular 2 Development Environment with angular-cli

Angular 2 takes advantage of modern web technologies and tools, which means the development environment becomes more sophisticated and requires some tools and their understanding.

Luckily, we don't need to spend time installing and configuring all the required dependencies and wiring everything together. We can use the angular-cli (command-line tool) that is being developed in parallel with Angular 2.

In this chapter, we will walk through setting up our development environment with angular-cli: how to install it and how to use it to kickstart our Angular 2 project in minutes.

Node and npm

Before we can start using angular-cli, we need to install Node.js on our machine. Node ...

Get Angular 2 Components now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.