Options (4)
booleanCreate a new Angular application
Example:
ng {{[n|new]}} {{app_name}}-d, --dry-runbooleanPreview the actions without creating files
Example:
ng {{[n|new]}} {{app_name}} {{[-d|--dry-run]}}-S, --skip-testsbooleanSkip generating unit test (`spec.ts`) files
Example:
ng {{[n|new]}} {{app_name}} {{[-S|--skip-tests]}}-g, --skip-gitbooleanSkip Git repository initialization
Example:
ng {{[n|new]}} {{app_name}} {{[-g|--skip-git]}}Examples (7)
Create a new Angular application
ng [n|new] app_namePreview 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-installSkip 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|windsurfmade by @shridhargupta | data from tldr-pages