# PmCommand Documentation ## Installation ```bash jsrepo add ui/pm-command ``` ## Components ### PmCommand The root component for displaying a package manager command with agent tabs and copy functionality. #### Props | Prop | Type | Default Value | Required | Bindable | Description | |------|------|--------------|----------|----------|-------------| | variant | "default" | "secondary" | default | false | false | The visual style of the command block. | | class | string | - | false | false | Additional classes to apply to the root element. | | agents | Agent[] | ['npm', 'pnpm', 'yarn', 'bun'] | false | false | List of available agents (package managers) to choose from. | | agent | Agent | npm | false | true | The selected agent (package manager). | | command | Command | - | true | false | The command to display. | | args | string[] | - | true | false | Arguments for the command. |