diff --git a/docs/src/content/docs/getting-started.mdx b/docs/src/content/docs/getting-started.mdx index a08e152befb..1157eb97a87 100644 --- a/docs/src/content/docs/getting-started.mdx +++ b/docs/src/content/docs/getting-started.mdx @@ -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: ```sh -npm install @astrojs/starlight@latest +npx @astrojs/upgrade ``` ```sh -pnpm upgrade @astrojs/starlight --latest +pnpm dlx @astrojs/upgrade ``` ```sh -yarn upgrade @astrojs/starlight --latest +yarn dlx @astrojs/upgrade ```