Executes pnpm. If pnpm is not installed, installs it first
pnpm add @pnpm/execimport { pnpmExec } from '@pnpm/exec'
await pnpmExec(['install'])
console.log('Done')Executes pnpm. If pnpm is not available, installs it first.
args- string[] - list of string arguments.[opts]- objectcwd- string - current working directory of the child process.env- object - environment key-value pairs. By default the value of the currentprocess.env.