ng new
Create and initialize a new Angular application. More information: https://angular.dev/cli/new.
- Create a new Angular application:
ng
- Simulate creating a new app, showing the actions without creating files:
ng
- Skip generating unit test (
spec.ts) files:
ng
- Skip automatic package installation:
ng --skip-install
- Skip Git repository initialization:
ng
- Configure AI tooling for the project:
ng --ai-config
- Disable interactive prompts:
ng --interactive false
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
