Installing Node, npm, and Angular Cli

Before you can start to work with Angular, you need to be set up with the tools needed to actually run the code. The foundation of everything is Node.js and Node's package manager, npm. So you should install those first if you haven't already. The easiest way to do that is to head on over to nodejs.org and download the installer for your operating system. 

Once you've done that, you can go ahead and install the Angular Command Line Utility (CLI). Angular CLI makes it very easy to get up and running with an Angular project, as you'll see in short order. The following command will install Angular CLI globally on your machine: 

  1. Once it's installed, it's time to create a project using the ng new command. ...

Get Mastering SVG now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.