Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions pages/common/bun-c.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# bun c

> This command is an alias of `bun create`.

- View documentation for the original command:

`tldr bun create`
33 changes: 33 additions & 0 deletions pages/common/bun-create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# bun create

> Create a new project from a template.
> Note: `c` can be used as an alias for `create`.
> More information: <https://bun.com/docs/runtime/templating/create>.

- Create a new project from an official template interactively:

`bun create {{template}}`

- Create a new project from an official template in a new directory:

`bun create {{template}} {{path/to/destination}}`

- Create a new project from a GitHub repository template:

`bun create {{https://github.com/username/repo}} {{path/to/destination}}`

- Create a new project from a local template:

`bun create {{./path/to/template}} {{path/to/destination}}`

- Create a new project, overwriting the destination directory if it exists:

`bun create {{template}} {{path/to/destination} --force`

- Create a new project without initializing a Git repository automatically:

`bun create {{template}} {{path/to/destination} --no-git`

- Create a new project without installing dependencies automatically:

`bun create {{template}} {{path/to/destination} --no-install`