mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-16 10:33:43 +08:00
751 B
751 B
Documentation below is for CLI version 6 and we no longer accept PRs to improve this. For version 7 see here.
ng config
Overview
ng config [key] [value]
Get/set configuration values.
[key]
should be in JSON path format. Example: a[3].foo.bar[2]
.
If only the [key]
is provided it will get the value.
If both the [key]
and [value]
are provided it will set the value.
Options
global
--global
(alias: -g
)
Get/set the value in the global configuration (in your home directory).