# Templates

Starter projects you can scaffold with create-nextly-app.

Templates are starter projects you scaffold via `create-nextly-app`. The CLI prompts you to pick one during setup, or you can pass `--template <name>` for a non-interactive scaffold. Each template ships a working `nextly.config.ts`, the standard project layout, and (for non-blank templates) example collections, singles, and frontend pages.

## Scaffold a project

**pnpm**

```bash
pnpm create nextly-app@alpha my-app
```

**npm**

```bash
npx create-nextly-app@alpha my-app
```

**yarn**

```bash
yarn create nextly-app@alpha my-app
```

**bun**

```bash
bun create nextly-app@alpha my-app
```

Without `--template`, the CLI prompts you to pick one. To skip the prompt, pass `--template <name>`:

```bash
pnpm create nextly-app@alpha my-app --template blank
pnpm create nextly-app@alpha my-app --template blog
```

## Available templates

* **[Blank](https://nextlyhq.com/docs/templates/blank.md)** -- Empty config, define your own schemas. Good when you want to start from scratch.
* **[Blog](https://nextlyhq.com/docs/templates/blog.md)** -- Complete blog with posts, categories, tags, frontend pages, and demo content. Good when you want a working starter to learn from.

More templates are planned for the beta release.

## Next Steps

* [Installation](https://nextlyhq.com/docs/getting-started/installation.md) -- Full installation walkthrough including database and storage setup.
* [Quick Start](https://nextlyhq.com/docs/getting-started/quick-start.md) -- Build a blog from scratch in five minutes.
* [Configuration](https://nextlyhq.com/docs/configuration.md) -- Configure collections, singles, plugins, and more.
