Getting Started
Features
- Support for various package managers: npm, yarn, pnpm, bun & ni.
- Support for various types of command:
add
,create
,exec
&run
. - Synced tabs between each instance on the same page.
- Customizable output with extra arguments, comments & prefixes.
Installation
Install the Starlight Package Managers component using your favorite package manager:
npm i starlight-package-managers
yarn add starlight-package-managers
pnpm add starlight-package-managers
bun add starlight-package-managers
ni starlight-package-managers
Basic Usage
You can now use the component in any MDX files of your Starlight documentation site.
---
title: My Docs
---
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.