summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar btea <2356281422@qq.com> 2023-09-13 22:58:18 +0800
committerGravatar GitHub <noreply@github.com> 2023-09-13 16:58:18 +0200
commit9552ef1481241b00c458f18ecc5ba0af9e866efd (patch)
tree42f227a79a001f9c092c3b5a664d9b43b761f281
parent4e395a6cab27d79a785ca386114b6229d8f6a7b9 (diff)
downloadastro-9552ef1481241b00c458f18ecc5ba0af9e866efd.tar.gz
astro-9552ef1481241b00c458f18ecc5ba0af9e866efd.tar.zst
astro-9552ef1481241b00c458f18ecc5ba0af9e866efd.zip
chore(create-astro): Added create project using `pnpm` (#8340)
-rw-r--r--packages/create-astro/README.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/packages/create-astro/README.md b/packages/create-astro/README.md
index 60baa62a1..ba406d942 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.