Include pnpm example on "Installation" page (#1554)
This commit is contained in:
parent
4dbad5d5ff
commit
59f9201774
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue