Installing Angular CLI

The documentation at https://angular.io/guide/quickstart will guide you to install @angular/cli as a global npm package. Do not do this. Overtime, as Angular CLI is upgraded, it is a constant irritant to have to keep the global and the in-project version in sync. If you don't, the tool complains endlessly. Additionally, if you are working on multiple projects, you will have varying versions of Angular CLI overtime. As a result, your commands may not return the results you expect or your team members get.

The strategy detailed in the next section will make your initial configuration of your Angular project a bit more complicated than it needs to be; however, you'll be more than making up for this pain if you return to ...

Get Angular 6 for Enterprise-Ready Web Applications 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.