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

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

Terminal window
npm i starlight-package-managers

Basic Usage

You can now 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" />

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.