Sumit Arora d2849c713b feat(@angular/cli): Add options for third party package manager (#4321)
BREAKING CHANGE: `--skip-npm` flag is now named `--skip-install`
2017-02-09 10:35:19 -08:00

959 B

ng new

Overview

ng new [name] creates a new angular application.

Default applications are created in a directory of the same name, with an initialized Angular application.

Options

--dry-run (-d) run through without making any changes

--skip-install (-si) skip installing packages

--skip-git (-sg) skip initializing a git repository

--directory (-dir) the directory name to create the app in

--source-dir (-sd) the name of the source directory

--style the style file default extension

--prefix (p) the prefix to use for all component selectors

--routing flag to indicate whether to generate a routing module

--inline-style (is) flag to indicate if the app component should have an inline style

--inline-template (it) flag to indicate if the app component should have an inline template