On this page
ng config
Retrieves or sets Angular configuration values in the angular.json file for the workspace.
ng config <json-path> <value> [options]
Arguments
Argument | Description | Value Type |
---|---|---|
<json-path> |
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. |
string |
<value> |
If provided, a new value for the given configuration key. |
string |
Options
Option | Description | Value Type | Default Value |
---|---|---|---|
--global |
Access the global configuration in the caller's home directory. Aliases: -g |
boolean |
false |
--help |
Shows a help message for this command in the console. |
true|false|json|JSON |
false |
© 2010–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v11.angular.io/cli/config