Skip to content

Getting Started

Features

Prerequisites

You will need to have a Starlight website set up. If you don’t have one yet, you can follow the “Getting Started” guide in the Starlight docs to create one.

Installation

  1. Install the Starlight Package Managers component using your favorite package manager:

    Terminal window
    npm i starlight-package-managers
  2. Use the component in any MDX files of your Starlight documentation site.

    src/content/docs/example.mdx
    import { PackageManagers } from 'starlight-package-managers'
    <PackageManagers pkg="astro" />
  3. Start the development server to preview the component.

For more details and examples, please refer to the usage guide.

You can also check the package managers guide for more information about the supported package managers and how to customize them.