pnpm add --save-optional concurrently

Category: Node.js & npm/yarn

pnpm add --save-optional concurrently

Add an optional dependency with pnpm

Writes the package into optionalDependencies, meaning installs continue if it fails to resolve or build on some platforms. Optional packages usually supply platform-specific binaries, with the main package falling back gracefully. The short flag is -o.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.