Skip to content

comark/tabs/no-manager-command

Write a package manager command in a pm block

A pm block turns each package manager command into every other manager's. A block with no command, such as one that only runs ls, has nothing to turn, so every tab shows the same code.

Incorrect

npm
ls duck-feeder
pnpm
ls duck-feeder
yarn
ls duck-feeder
bun
ls duck-feeder
```sh pm
ls duck-feeder
```
md

Correct

npm
npm install duck-feeder
pnpm
pnpm add duck-feeder
yarn
yarn add duck-feeder
bun
bun add duck-feeder
```sh pm
pnpm add duck-feeder
```
md