Skip to content

Package Managers

The PackageManagers component is used 840 times on 374 pages.

See all examples of pages that use PackageManagers

Used 840 times.

Pages

Partials

This component is based on the Nimbus package manager component ↗︎ and adds repository-specific support for global installs and reviewed Cloudflare CLI alternatives.

import { PackageManagers } from "~/components";

<PackageManagers pkg="wrangler" />

<PackageManagers pkg="cf" global />

<PackageManagers
	type="exec"
	pkg="wrangler"
	args="deploy"
	cfCommand="cf deploy"
/>

Use global only for packages designed to be installed globally. Use cfCommand only for a reviewed, single-line Cloudflare CLI equivalent of a Wrangler execution command. The value must begin with cf . Supplying this prop displays the shared CLI selector.

Was this helpful?