33 lines
616 B
Markdown
Raw Normal View History

# bun init
> Scaffold an empty Bun project.
> More information: <https://bun.com/docs/runtime/templating/init>.
- Initialize a Bun project in the current directory:
`bun init`
- Initialize in a specific directory:
`bun init {{path/to/directory}}`
- Initialize with a specific project name:
`bun init {{[-n|--name]}} {{project_name}}`
- Initialize a project with default prompts:
`bun init {{[-y|--yes]}}`
- Initialize a minimal project:
`bun init {{[-m|--minimal]}}`
- Initialize a React project:
`bun init {{[-r|--react]}}`
- Initialize a React project with Tailwind CSS:
`bun init --react=tailwind`