You are on page 1of 3

ng con�g

Retrieves or sets Angular con�guration values in the angular.json �le for

the workspace.

ng [json-path] [ ]

Description 

A workspace has a single CLI con�guration �le, angular.json , at the

top level. The projects object contains a con�guration object for each

project in the workspace.

You can edit the con�guration directly in a code editor, or indirectly on

the command line using this command.

The con�gurable property names match command option names,

except that in the con�guration �le, all names must use camelCase,

while on the command line options can be given dash-case.

For further details, see Workspace Con�guration.

For con�guration of CLI usage analytics, see ng analytics.

Arguments
ARGUMENT DESCRIPTION VALUE TYPE

json-path The configuration key string

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.

value If provided, a new value string

for the given

configuration key.

Options
VALUE DEFAULT
OPTION DESCRIPTION
TYPE VALUE

--global Access the global boolean false

configuration in the

caller's home

directory.

Aliases: -g

--help Shows a help message boolean

for this command in

the console.

You might also like