deno/cli/tools/run
Nathan Whitaker 861f62a4ec
feat: add deno x (alias dx) for conveniently running binaries from packages (#31138)
an equivalent to npx, for conveniently running binaries from packages

available as `deno x`, and you can install an alias via `deno x
--install-alias` (defaults to dx but can be specified)

Used like `deno x rolldown`, or `dx rolldown` with the alias

- defaults to allow-all, unless another permission flag is passed
- prompts when you first run a package
- runs lifecycle scripts if you accept the prompt
- defaults to npm: unless otherwise specified
- errors if you try to use it to run a file

---------

Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2025-12-09 15:06:36 -08:00
..
hmr.rs fix: show referrer range in deno_core loader errors (#30981) 2025-10-14 14:09:12 +01:00
mod.rs feat: add deno x (alias dx) for conveniently running binaries from packages (#31138) 2025-12-09 15:06:36 -08:00