From 1b3e8e7d99f209a10bf2f3aa40fbbd3cdc000f6d Mon Sep 17 00:00:00 2001 From: Sahil Afrid Farookhi Date: Wed, 4 Feb 2026 18:22:38 -0600 Subject: [PATCH] ng-new: add page (#20968) --- pages/common/ng-new.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 pages/common/ng-new.md diff --git a/pages/common/ng-new.md b/pages/common/ng-new.md new file mode 100644 index 0000000000..49ef775c70 --- /dev/null +++ b/pages/common/ng-new.md @@ -0,0 +1,32 @@ +# ng new + +> Create and initialize a new Angular application. +> More information: . + +- Create a new Angular application: + +`ng {{[n|new]}} {{app_name}}` + +- Preview the actions without creating files: + +`ng {{[n|new]}} {{app_name}} {{[-d|--dry-run]}}` + +- Skip generating unit test (`spec.ts`) files: + +`ng {{[n|new]}} {{app_name}} {{[-S|--skip-tests]}}` + +- Skip automatic package installation: + +`ng {{[n|new]}} {{app_name}} --skip-install` + +- Skip Git repository initialization: + +`ng {{[n|new]}} {{app_name}} {{[-g|--skip-git]}}` + +- Configure AI tooling for the project: + +`ng {{[n|new]}} {{app_name}} --ai-config {{claude|copilot|cursor|gemini|jetbrains|none|windsurf}}` + +- Disable interactive prompts: + +`ng {{[n|new]}} {{app_name}} --interactive false`