From e719c154f608aa9fee020254888cc4686e03f73c Mon Sep 17 00:00:00 2001 From: superTO Date: Thu, 14 Feb 2019 10:45:06 +0800 Subject: [PATCH] Add "ng add" to Angular-CLI (#31561) --- guide/english/angular/command-line-interface/index.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/guide/english/angular/command-line-interface/index.md b/guide/english/angular/command-line-interface/index.md index 48cef7990c..280bb17548 100644 --- a/guide/english/angular/command-line-interface/index.md +++ b/guide/english/angular/command-line-interface/index.md @@ -28,6 +28,8 @@ Recognize that `ng` is the basic building block of the CLI. All your commands wi * ng update +* ng add (Angular 6) + The key terms for each of these are quite telling. Together, they comprise what you will need to hit the ground running with Angular. Of course, there are many more. All commands are outlined in the [CLI's GitHub Documentation1](https://github.com/angular/angular-cli/wiki#additional-commands). You will likely find that the commands listed above will cover the necessary bases. #### ng new @@ -76,6 +78,12 @@ Here is the syntax and options can be used with `ng update`. `ng update [package]` +#### ng add + +ng add will use npm to download new dependencies and invoke an installation script. + +`ng add ` + **Options** - dry-run `--dry-run (alias: -d)`