← 返回命令列表

Linux command

bun-create 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Create project from template

bun create [template] [project-name]

Create Hono project

bun create hono@latest [my-app]

Create Elysia project

bun create elysia [my-app]

Create from GitHub template

bun create [github-user/repo] [project-name]

Create from local template

bun create [./path/to/template] [project-name]

说明

bun create scaffolds new projects from templates. It supports templates from npm, GitHub repositories, and local directories. After cloning, it automatically installs dependencies and initializes the project. For basic project initialization without templates, use bun init instead.

FAQ

What is the bun-create command used for?

bun create scaffolds new projects from templates. It supports templates from npm, GitHub repositories, and local directories. After cloning, it automatically installs dependencies and initializes the project. For basic project initialization without templates, use bun init instead.

How do I run a basic bun-create example?

Run `bun create [template] [project-name]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

Where can I find more bun-create examples?

This page includes 5 examples for bun-create, plus related commands for nearby Linux tasks.