---
title: "vlt create"
description: "Documentation for the vlt client and the vlt registry."
url: "https://docs.vlt.io/client/commands/create"
image: "https://docs.vlt.io/og/client/commands/create"
lang: "en"
---

# vlt create

## Usage

```bash title="Terminal"
$ vlt create <initializer> [args...]
```

Initialize a new project from a template package.

## Description

The `vlt create` command works like `npm create` and `bun create`, automatically prepending "create-" to the package name and executing it.

For example, running:

```bash title="Terminal"
$ vlt create react-app my-app
```

Will fetch and execute the `create-react-app` package with the arguments `my-app`.

If a satisfying instance of the create package exists in the local `node_modules` folder, then that will be used. Otherwise, vlt will install the package to its XDG data directory without modifying your local dependencies.

## Examples

### Start a Next.js Project

```bash title="Terminal"
$ vlt create next-app my-app
```

This fetches and runs `create-next-app my-app`. You can also pass options through:

```bash title="Terminal"
$ vlt create next-app my-app --typescript --tailwind --eslint
$ vlt create next-app my-app --use-pnpm  # or any create-next-app flag
```

### Create a React App

```bash title="Terminal"
$ vlt create react-app my-app
```

This executes `create-react-app my-app`

### Create a Vite Project

```bash title="Terminal"
$ vlt create vite my-project
```

This executes `create-vite my-project`

### Create a SvelteKit Project

```bash title="Terminal"
$ vlt create svelte@latest my-app
```

This executes `create-svelte@latest my-app`

### Use a Scoped Template

```bash title="Terminal"
$ vlt create @scope/template my-app
```

This executes `@scope/create-template my-app`

### Skip Confirmation Prompts

Use `--yes` to automatically accept the install prompt:

```bash title="Terminal"
$ vlt create next-app my-app --yes
```

## Options

### `--allow-scripts <query>`

Filter which packages are allowed to run lifecycle scripts using DSS query syntax.

```bash title="Terminal"
$ vlt create vite my-app --allow-scripts='create-*'
```

## See Also

- [vlt exec](https://docs.vlt.io/client/commands/exec.md) - Execute a command from a package
- [vlt init](https://docs.vlt.io/client/commands/init.md) - Initialize a new package.json
