ng doc

From Get docs
< CLI Overview and Command ReferenceAngular/docs/11/cli/doc

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

ng doc <keyword> [options]

ng d <keyword> [options]


Argument Description Value Type
<keyword> The keyword to search for, as provided in the search bar in string


Option Description Value Type Default Value
--help Shows a help message for this command in the console. false|json|JSON false

Search all of Otherwise, searches only API reference documentation.

Aliases: -s

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

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