From 9552ef1481241b00c458f18ecc5ba0af9e866efd Mon Sep 17 00:00:00 2001 From: btea <2356281422@qq.com> Date: Wed, 13 Sep 2023 22:58:18 +0800 Subject: [PATCH] chore(create-astro): Added create project using `pnpm` (#8340) --- packages/create-astro/README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/packages/create-astro/README.md b/packages/create-astro/README.md index 60baa62a1aa9..ba406d942698 100644 --- a/packages/create-astro/README.md +++ b/packages/create-astro/README.md @@ -14,6 +14,12 @@ npm create astro@latest yarn create astro ``` +**With PNPM:** + +```bash +pnpm create astro +``` + `create-astro` automatically runs in _interactive_ mode, but you can also specify your project name and template with command line arguments. ```bash @@ -22,6 +28,9 @@ npm create astro@latest my-astro-project -- --template minimal # yarn yarn create astro my-astro-project --template minimal + +# pnpm +pnpm create astro my-astro-project --template minimal ``` [Check out the full list][examples] of example templates, available on GitHub.