Skip to content

Commit

Permalink
Update upgrade instructions to show new @astrojs/upgrade (withastro…
Browse files Browse the repository at this point in the history
  • Loading branch information
delucis committed Dec 6, 2023
1 parent 632c2bf commit 64b5553
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/src/content/docs/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -135,27 +135,27 @@ Because Starlight is beta software, there will be frequent updates and improveme
Be sure to update Starlight regularly!
:::

Starlight is an Astro integration, and is updated like any `@astrojs/*` integration:
Starlight is an Astro integration. You can update it and other Astro packages by running the following command in your terminal:

<Tabs>
<TabItem label="npm">

```sh
npm install @astrojs/starlight@latest
npx @astrojs/upgrade
```

</TabItem>
<TabItem label="pnpm">

```sh
pnpm upgrade @astrojs/starlight --latest
pnpm dlx @astrojs/upgrade
```

</TabItem>
<TabItem label="Yarn">

```sh
yarn upgrade @astrojs/starlight --latest
yarn dlx @astrojs/upgrade
```

</TabItem>
Expand Down

0 comments on commit 64b5553

Please sign in to comment.