From 0843b76efe4e187d091964a9daed40a3b996a090 Mon Sep 17 00:00:00 2001 From: Sahil Afrid Farookhi Date: Tue, 10 Feb 2026 05:56:04 -0600 Subject: [PATCH] ng-config: add page (#21016) --- pages/common/ng-config.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/common/ng-config.md diff --git a/pages/common/ng-config.md b/pages/common/ng-config.md new file mode 100644 index 0000000000..84dab8406f --- /dev/null +++ b/pages/common/ng-config.md @@ -0,0 +1,24 @@ +# ng config + +> Use JSON path notation (camelCase) to edit workspace or project configurations, such as build options. +> More information: . + +- Display all configuration values: + +`ng config` + +- Get a specific configuration value: + +`ng config projects.{{project_name}}.prefix` + +- Set a configuration value: + +`ng config projects.{{project_name}}.prefix {{value}}` + +- Disable CLI analytics globally: + +`ng config cli.analytics disabled {{[-g|--global]}}` + +- Set a global config value (caution: this affects all Angular projects): + +`ng config projects.{{project_name}}.prefix {{value}} {{[-g|--global]}}`