Getting started
Tutorial
Fundamentals
API
Training

ng-new [hidden]

Create a workspace

Usage

ng generate ng-new ...

Options

commit

Default: true

Type: boolean

Initial repository commit information.

directory

Type: string

The directory name to create the workspace in.

name

Type: string

The name of the workspace.

npmScope

Type: string

Npm scope for importing libs.

preset

Default: empty

Type: string

What to create in the new workspace

skipGit

Alias(es): g

Default: false

Type: boolean

Skip initializing a git repository.

skipInstall

Default: false

Type: boolean

Skip installing dependency packages.

style

Default: css

Type: string

The file extension to be used for style files.