summaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
authorGravatar Henrique Borges <31735860+henriquehbr@users.noreply.github.com> 2021-10-14 15:09:02 -0300
committerGravatar GitHub <noreply@github.com> 2021-10-14 14:09:02 -0400
commit59f9201774322cc1351c2c81946d0121a218084b (patch)
treed83ac0fd65b2e34b13b286b34928588321d2ce87 /docs/src
parent4dbad5d5ff164167ae5b61ab6c2e46605fc25b14 (diff)
downloadastro-59f9201774322cc1351c2c81946d0121a218084b.tar.gz
astro-59f9201774322cc1351c2c81946d0121a218084b.tar.zst
astro-59f9201774322cc1351c2c81946d0121a218084b.zip
Include pnpm example on "Installation" page (#1554)
Diffstat (limited to 'docs/src')
-rw-r--r--docs/src/pages/installation.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/src/pages/installation.md b/docs/src/pages/installation.md
index a4637451e..4a5511141 100644
--- a/docs/src/pages/installation.md
+++ b/docs/src/pages/installation.md
@@ -24,6 +24,9 @@ npm init astro
# Yarn
yarn create astro
+
+# Pnpm
+pnpm create astro
```
[`create-astro`](https://github.com/snowpackjs/astro/tree/main/packages/create-astro) wizard lets you choose from a set of [starter templates](https://github.com/snowpackjs/astro/tree/main/examples) or alternatively, you could import your own Astro project directly from GitHub.
@@ -37,6 +40,8 @@ npm init astro my-astro-project --template starter
npm init astro my-astro-project -- --template starter
# yarn
yarn create astro my-astro-project --template starter
+# pnpm
+pnpm create astro my-astro-project --template starter
# Using a third-party template
npm init astro my-astro-project -- --template [GITHUB_USER]/[REPO_NAME]
# Using a third-party template, inside a repo