ng-add

adds npm packages with Angular schematics support to your project

TLDR

Add package to project
$ ng add [package-name]
Add Angular Material
$ ng add @angular/material
Add PWA support
$ ng add @angular/pwa
Skip package installation
$ ng add [package] --skip-confirmation

SYNOPSIS

ng add package [options]

DESCRIPTION

ng add adds npm packages with Angular schematics support to your project. Runs installation and configuration schematics automatically. Part of Angular CLI.

PARAMETERS

--skip-confirmation

Skip confirmation prompts.
--defaults
Use default options.
--registry url
npm registry to use.

SEE ALSO

ng(1), ng-generate(1)