commands.sh

ng new

all

Create and initialize a new Angular application.

More info →

Options (4)

boolean

Create a new Angular application

Example: ng {{[n|new]}} {{app_name}}
-d, --dry-runboolean

Preview the actions without creating files

Example: ng {{[n|new]}} {{app_name}} {{[-d|--dry-run]}}
-S, --skip-testsboolean

Skip generating unit test (`spec.ts`) files

Example: ng {{[n|new]}} {{app_name}} {{[-S|--skip-tests]}}
-g, --skip-gitboolean

Skip Git repository initialization

Example: ng {{[n|new]}} {{app_name}} {{[-g|--skip-git]}}

Examples (7)

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
made by @shridhargupta | data from tldr-pages