yarn create — Yarn CLI reference
Create a new package from a starter kit
Docs/Reference/CLI/create
yarn create
Create a new package from a starter kit
yarn create <STARTER> <ARGS…>
This command uses dlx to fetch a package named create-<name> (or @<scope>/create-<name> for scoped packages), then runs its binary.
For example:
-
yarn create react-app→yarn dlx create-react-app -
yarn create @scope/app→yarn dlx @scope/create-app
Suppress the install unless it errors
Examples#
Scaffold a new Vite project using create-vite
yarn create vite my-app --template vanilla