---
title: "Deno 2.6: dx is the new npx"
description: "Deno 2.6 adds `dx`, an npx equivalent for running npm and JSR package binaries that defaults to full permissions, prompts before download and runs lifecycle scripts."
url: "https://swe.quest/articles/deno-2-6-dx-is-the-new-npx-58f73c73a151bd8c"
canonical: "https://deno.com/blog/v2.6"
source: "Deno"
published: "2025-12-10"
difficulty: "medium"
kind: "Release"
reading_minutes: 16
tags: ["javascript","typescript","runtimes","supply-chain-security","developer-tools"]
---

# Deno 2.6: dx is the new npx

A post on [Deno](https://swe.quest/sources/deno.md), published 2025-12-10, 16 min read, Release. Original: [https://deno.com/blog/v2.6](https://deno.com/blog/v2.6)

## Summary

Deno 2.6 adds \`dx\`, an npx equivalent for running npm and JSR package binaries that defaults to full permissions, prompts before download and runs lifecycle scripts. It also adds \`--ignore-read\`/\`--ignore-env\` flags that return NotFound/undefined instead of NotCapable errors, plus an experimental permission broker process for mediating permission requests. Other changes include opt-in type checking with the Go-based tsgo (about 2x faster on internal projects), Wasm source phase imports, \`--require\` for preloading CommonJS, and \`deno audit\` with optional socket.dev integration. Supply-chain controls include \`deno approve-scripts\` and a \`minimumDependencyAge\` setting, alongside bundler fixes, default \`@types/node\`, and many Node.js API compatibility fixes.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [JavaScript](https://swe.quest/tags/javascript.md) (Languages)
- [TypeScript](https://swe.quest/tags/typescript.md) (Languages)
- [Runtimes & VMs](https://swe.quest/tags/runtimes.md) (Compilers & runtimes)
- [Supply chain security](https://swe.quest/tags/supply-chain-security.md) (Security)
- [Developer tools](https://swe.quest/tags/developer-tools.md) (Engineering practices)

## Prerequisites

- JavaScript/TypeScript tooling ([easy posts on JavaScript](https://swe.quest/tags/javascript.md?difficulty=easy))
- npm packages

## Keywords

Deno, dx, tsgo, deno audit, socket.dev, WebAssembly, Node.js, V8

## Related posts

- [Introducing your new JavaScript package manager: Deno](https://swe.quest/articles/introducing-your-new-javascript-package-manager-deno-23f4f8f8933d6ca1.md): Deno · 2024-11-08 · Medium · 4 min read · JavaScript, Build systems, Developer tools, Supply chain security
  Deno 2 adds \`deno add\`, \`deno remove\`/\`uninstall\`, and \`deno install\` subcommands that manage npm and JSR dependencies in either \`deno.json\` import maps or an existing \`package.json\`, so they work inside Node projects too.
- [Deno 2.5: Permissions in the config file](https://swe.quest/articles/deno-2-5-permissions-in-the-config-file-6c1646b356167f76.md): Deno · 2025-09-10 · Medium · 13 min read · JavaScript, TypeScript, Runtimes & VMs, Developer tools, Testing
  Deno 2.5 adds named permission sets in deno.json, selectable with -P or --permission-set, plus per-command permissions for test, bench and compile that require -P to apply.
- [Deno 1.34: deno compile supports npm packages](https://swe.quest/articles/deno-1-34-deno-compile-supports-npm-packages-6066648b7bf9ee04.md): Deno · 2023-05-25 · Medium · 6 min read · JavaScript, Runtimes & VMs, Developer tools, TypeScript
  Deno 1.34 lets \`deno compile\` bundle npm packages and their dependencies into a single self-contained executable.
- [Deno 2.4: deno bundle is back](https://swe.quest/articles/deno-2-4-deno-bundle-is-back-ed93373e4555da2c.md): Deno · 2025-07-02 · Medium · 19 min read · JavaScript, TypeScript, Runtimes & VMs, Build systems, Developer tools
  Deno 2.4 brings back \`deno bundle\`, now built on esbuild, producing single-file bundles for Deno or browser targets with tree shaking, minification, sourcemaps and npm/JSR dependency support.
- [Deno 1.46: The Last 1.x Release](https://swe.quest/articles/deno-1-46-the-last-1-x-release-18f40edf9755fd08.md): Deno · 2024-08-22 · Medium · 16 min read · JavaScript, TypeScript, Developer tools, Runtimes & VMs
  Deno 1.46, the final 1.x release, lets programs run with plain \`deno file.ts\`, runs tasks via \`deno run\`, and adds one-letter permission flags (-R, -W, -E, -N, -S) that can be combined and given allow lists. \`deno serve --parallel\` runs one single-threaded JS runtime copy per core, with the count set by DENO\_JOBS. \`deno fmt\` gains unstable formatting for HTML, CSS, YAML and component files.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
