Angular CLI

Let's learn some things about the official Angular command-line interface (Angular CLI).

The Angular CLI is a command-line interface and is available as an npm package that you can use to quickly generate new Angular applications and do many other things (for example, create modules, components, services, and more). This tool is great for getting started, but it is also very useful on a daily basis when developing Angular applications. It is a powerful productivity tool that is customizable in many ways.

Let's look at how we can install it on our machine: run npm install -g @angular/cli to install the package globally.

Once installed, you should have the ng executable at your disposal.

Alternatively, don't forget that you can ...

Get Learn TypeScript 3 by Building 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.