Include pnpm example on "Installation" page (#1554)

This commit is contained in:
Henrique Borges 2021-10-14 15:09:02 -03:00 committed by GitHub
parent 4dbad5d5ff
commit 59f9201774
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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