33 lines
1.0 KiB
Markdown
Raw Normal View History

# bun create
> Create a new project from a template.
> More information: <https://bun.com/docs/runtime/templating/create>.
- Create a new project from an official template interactively:
`bun {{[c|create]}} {{template}}`
- Create a new project from an official template in a new directory:
`bun {{[c|create]}} {{template}} {{path/to/destination}}`
- Create a new project from a GitHub repository template:
`bun {{[c|create]}} {{https://github.com/username/repo}} {{path/to/destination}}`
- Create a new project from a local template:
`bun {{[c|create]}} {{path/to/template}} {{path/to/destination}}`
- Create a new project, overwriting the destination directory if it exists:
`bun {{[c|create]}} {{template}} {{path/to/destination}} --force`
- Create a new project without initializing a Git repository automatically:
`bun {{[c|create]}} {{template}} {{path/to/destination}} --no-git`
- Create a new project without installing dependencies automatically:
`bun {{[c|create]}} {{template}} {{path/to/destination}} --no-install`