Command

Renders a terminal command with a variant for each package manager.

Local Storage

The Command component uses local storage for the package manager preference and will use a small script hoisted to the root of the page to set the package manager on load. This is done to avoid any flashing from state changes when a local storage value is found.

API Reference