> For the complete documentation index, see [llms.txt](https://design4pro.gitbook.io/angular-cli/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://design4pro.gitbook.io/angular-cli/commands/generate-application.md).

# generate application

Create an Angular application.

### Overview

`ng generate application <schematic> <name> [options]` or `ng g app <schematic> <name> [options]` generates application.

### Arguments

`schematic` (optional)\
The schematic or collection:schematic to generate.

`name` (required)\
The name of the application.

### Options

`--dry-run` (alias `-d`) \
Run through without making any changes.&#x20;

`--force` (alias `-f`) \
Forces overwriting of files.&#x20;

`--inline-style` (alias `-s`) \
Specifies if the style will be in the ts file.&#x20;

`--inline-template` (alias `-t`) \
Specifies if the template will be in the ts file.&#x20;

`--prefix` (`-p`) \
The prefix to apply to generated selectors.&#x20;

`--routing` \
Generates a routing module.&#x20;

`--skip-package-json` \
Do not add dependencies to package.json.&#x20;

`--skip-tests` (alias `-S`) \
Skip creating spec files.&#x20;

`--style` \
The file extension to be used for style files.&#x20;

`--view-encapsulation` \
Specifies the view encapsulation strategy.

### Example

{% code title="" %}

```bash
ng generate application my-app
```

{% endcode %}
