Skip to content

vp dlx ​

Download and run a package without adding it to the project's dependencies.

bash
vp dlx create-vite my-app
vp dlx --silent create-vite my-app

Options ​

Put Vite+ options before the package or command:

Arguments after the command are passed to the executed program, not parsed as Vite+ options. Shell mode interprets shell syntax; use it only with trusted command strings.

OptionDescriptionNotes
-p, --package <name>Make the selected package available to the executed command.Can be repeated.
-c, --shell-modeExecute within a shell environment.
-s, --silentSuppress Vite+ output and request native quiet output where available.

Compatibility ​

  • npm: npm exec --yes.
  • pnpm: pnpm dlx.
  • Yarn Classic: Fallback: npx --yes.
  • Yarn Modern: yarn dlx.
  • Bun: bun x.
OptionnpmpnpmYarn ClassicYarn ModernBunNotes
-p, --package <name>YesYesYesYesYes
-c, --shell-modeYesYesYesNoNo
-s, --silentYesYesYesYesYesBun only suppresses Vite+ output.

For installed project binaries, use vp exec or vpx instead. See Running Binaries for those workflows.

Native Options ​

For native options, see npm exec, pnpm dlx, Yarn dlx, and Bun x. For the Yarn Classic fallback, see npx. For argument handling, see Native Arguments.