---
title: "Announcing Deno 2"
description: "Deno 2 adds backwards compatibility with Node.js and npm, so it runs existing Node projects using package.json, node_modules and npm workspaces, and supports npm: import specifiers without a manifest."
url: "https://swe.quest/articles/announcing-deno-2-5e607a5c7027789d"
canonical: "https://deno.com/blog/v2.0"
source: "Deno"
published: "2024-10-09"
difficulty: "easy"
kind: "Release"
reading_minutes: 12
tags: ["javascript","typescript","runtimes","developer-tools","build-systems"]
---

# Announcing Deno 2

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

## Summary

Deno 2 adds backwards compatibility with Node.js and npm, so it runs existing Node projects using package.json, node\_modules and npm workspaces, and supports npm: import specifiers without a manifest. It also adds package management commands (deno install/add/remove, claimed 15% faster than npm on a cold cache and 90% faster on a hot cache), private registries via .npmrc, workspaces and monorepos, a stabilized standard library on JSR, and an LTS channel starting with 2.1 that gets six months of backported fixes. Toolchain updates include multi-core deno serve, HTML/CSS/YAML formatting and node:test support. A correction notes HTTP throughput is about 20% lower than charted because V8 pointer compression was disabled to lift the 4GB heap limit.

Written by swe.quest, not by the author.

**Difficulty:** Easy: no special background needed; explains what something is and why it matters

## 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)
- [Developer tools](https://swe.quest/tags/developer-tools.md) (Engineering practices)
- [Build systems](https://swe.quest/tags/build-systems.md) (Engineering practices)

## Prerequisites

- Node.js and npm ([easy posts on JavaScript](https://swe.quest/tags/javascript.md?difficulty=easy))
- JavaScript modules ([easy posts on JavaScript](https://swe.quest/tags/javascript.md?difficulty=easy))

## Keywords

Deno 2, Node.js, npm, JSR, Deno Standard Library, V8

## Related posts

- [Deno 1.42: Better dependency management with JSR](https://swe.quest/articles/deno-1-42-better-dependency-management-with-jsr-c869439ba578c752.md): Deno · 2024-03-28 · Medium · 9 min read · JavaScript, TypeScript, Runtimes & VMs, Build systems, Developer tools
  Deno 1.42 adds first-class JSR support through new \`deno publish\` and \`deno add\` subcommands, which install packages from JSR and npm and write import map entries.
- [Deno 2.0 Is Here, and It’s Scaly](https://swe.quest/articles/deno-2-0-is-here-and-it-s-scaly-a50e5a15fd1b9367.md): Neon · 2024-10-15 · Medium · 8 min read · JavaScript, Runtimes & VMs, TypeScript
  Deno 2.0 adds backward compatibility with Node.js and npm: node: built-in modules, CommonJS via .cjs and require(), npm: specifiers, package.json and node\_modules support, and the process global.
- [Deno 2.8](https://swe.quest/articles/deno-2-8-43b6e30f24897cb6.md): Deno · 2026-05-22 · Medium · 36 min read · JavaScript, Runtimes & VMs, Performance engineering, Build systems, TypeScript
  Deno 2.8 adds new subcommands (audit fix, bump-version with Conventional Commits workspace support, ci, pack for building npm tarballs from Deno/JSR projects, transpile, why), makes unprefixed package names default to npm in deno add/install, and supports TC39 import defer.
- [Deno 1.28: Featuring 1.3 Million New Modules](https://swe.quest/articles/deno-1-28-featuring-1-3-million-new-modules-2730b24ac8878c7c.md): Deno · 2022-11-14 · Medium · 6 min read · JavaScript, Supply chain security, Runtimes & VMs
  Deno 1.28 stabilizes npm compatibility, letting programs import any of npm's 1.3 million packages via \`npm:\` specifiers in imports or import maps, and run npm CLIs with \`deno run npm:\<pkg\>\`, with no package.json, install step or node\_modules folder by default.
- [Deno 2.9](https://swe.quest/articles/deno-2-9-919531dc50e2e28a.md): Deno · 2026-06-25 · Medium · 24 min read · JavaScript, Runtimes & VMs, Build systems, Performance engineering, Developer tools
  Deno 2.9 introduces experimental \`deno desktop\`, which compiles a web UI plus Deno logic into a single native binary using either the OS webview or bundled Chromium via CEF, with native window, tray and dock APIs and cross-compilation to installers for all five targets. \`deno install\` now seeds \`deno.lock\` from npm, pnpm, yarn and Bun lockfiles with exact versions and hashes, migrates pnpm workspace config, and shims \`node\` for tools that shell out to it.

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)
