ng doc

Opens the official Angular documentation (angular.io) in a browser, and searches for a given keyword.

ng doc <keyword> [options]

ng d <keyword> [options]


Argument Description

The keyword to search for, as provided in the search bar in angular.io.


Option Description
--help= true|false|json|JSON

Shows a help message for this command in the console.

Default: false


When true, searches all of angular.io. Otherwise, searches only API reference documentation.

Default: false

Aliases: -s


Contains the version of Angular to use for the documentation. If not provided, the command uses your current Angular core version.

© 2010–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.