AI agents: fetch the documentation index at llms.txt. Markdown versions are available by appending .md to any page URL, including this page's markdown.
Installer
Display a copyable package install command with the Installer component, including a styled default command generated from a package path.
Use the Installer component to show a copyable installation command in a styled container.
Place an Installer near the top of quickstart and onboarding pages so readers can install the CLI before they run other commands. The built-in copy button means they do not need to select text from a plain code block. If your docs cover multiple package managers, pass a custom command prop or pair this component with Code group for npm, pnpm, and yarn variants on the same page.
A typical getting started flow: show the install command, link to CLI overview, then walk through blodemd new and blodemd dev. On the CLI overview page itself, Installer renders the global install command with one line of MDX.
Basic usage
Pass a command prop with the full install command:
<Installer path="blodemd" command="npm install blodemd" />npm install blodemdDefault command
If you omit the command prop, a default command is generated from the value: