ng config

Retrieves or sets Angular configuration values in the angular.json file for the workspace.

ng config <jsonPath> <value> [options]


Argument Description

The configuration key to set or query, in JSON path format. For example: "a[3].foo.bar[2]". If no new value is provided, returns the current value of this key.


If provided, a new value for the given configuration key.


Option Description

When true, accesses the global configuration in the caller's home directory.

Default: false

Aliases: -g

--help= true|false|json|JSON

Shows a help message for this command in the console.

Default: false

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