commands.sh

ng add

all

Add and configure packages for the current workspace project.

More info →

Options (1)

-d, --dry-runboolean

Perform a dry run without making any changes

Example: ng add {{package}} {{[-d|--dry-run]}}

Examples (7)

Add a package to the current project

ng add package

Add multiple packages

ng add package1 package2 ...

Add a specific version of a package

ng add package@version

Skip the confirmation prompt

ng add package --skip-confirmation

Disable interactive prompts

ng add package --interactive false

Display verbose output about internal operations

ng add package --verbose

Perform a dry run without making any changes

ng add package [-d|--dry-run]
made by @shridhargupta | data from tldr-pages