{ "id": "cli/config", "title": "ng config", "contents": "\n
\n
\n mode_edit\n code\n
\n \n\n\n
\n \n CLI\n
\n\n \n
\n

ng configlink

\n
\n\n\n \n\n
\n \n

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

\n\n \nng config <json-path> <value> [options]\n\n\n\n \n\n \n\n

Arguments

\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
ArgumentDescriptionValue Type
<json-path>\n

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.

\n\n \n
string
<value>\n

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

\n\n \n
string
\n\n\n \n\n

Options

\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
OptionDescriptionValue TypeDefault Value
\n --global\n \n \n

Access the global configuration in the caller's home directory.

\n\n

Aliases: -g

\n
booleanfalse
\n --help\n \n \n

Shows a help message for this command in the console.

\n\n \n
true|false|json|JSONfalse
\n\n\n \n
\n
\n\n\n" }