diff --git a/pages/common/bun-c.md b/pages/common/bun-c.md new file mode 100644 index 00000000000000..a93af1577bfec5 --- /dev/null +++ b/pages/common/bun-c.md @@ -0,0 +1,7 @@ +# bun c + +> This command is an alias of `bun create`. + +- View documentation for the original command: + +`tldr bun create` diff --git a/pages/common/bun-create.md b/pages/common/bun-create.md new file mode 100644 index 00000000000000..996f09b9aaab7e --- /dev/null +++ b/pages/common/bun-create.md @@ -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: . + +- 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`