---
title: "Deno 2.0 Release Candidate"
description: "Deno 2.0's release candidate is the largest update since 1.0: it removes the `window` global, adds Node's `process` global, and deprecates `deno cache` in favor of `deno install`."
url: "https://swe.quest/articles/deno-2-0-release-candidate-e1af5ccfd990463c"
canonical: "https://deno.com/blog/v2.0-release-candidate"
source: "Deno"
published: "2024-09-19"
difficulty: "medium"
kind: "Release"
reading_minutes: 17
tags: ["javascript","typescript","runtimes","security"]
---

# Deno 2.0 Release Candidate

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

## Summary

Deno 2.0's release candidate is the largest update since 1.0: it removes the \`window\` global, adds Node's \`process\` global, and deprecates \`deno cache\` in favor of \`deno install\`. Dependency management gains subpath support in \`deno add\`, required \`jsr:\`/\`npm:\` prefixes, writing npm deps to package.json (including \`--dev\`), \`deno remove\`, \`deno install --entrypoint\`, and a more concise v4 lockfile. Missing Deno permissions now raise \`Deno.errors.NotCapable\` instead of \`PermissionDenied\`, so they can be told apart from OS errors. \`--allow-hrtime\` is gone, and \`--allow-run\` warns without an allow list and requires full permission when \`LD\_\*\`/\`DYLD\_\*\` env vars are set. WebGPU, FFI and \`createHttpClient\` are stabilized, many legacy \`Deno.\*\` APIs and resource IDs are removed, and \`deno bundle\` and \`deno vendor\` are dropped.

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)
- [Security](https://swe.quest/tags/security.md) (Security)

## Prerequisites

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

## Keywords

Deno, Deno 2.0, JSR, npm, Node.js

## 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.22 Release Notes](https://swe.quest/articles/deno-1-22-release-notes-4c57bc88a83acfab.md): Deno · 2022-05-18 · Medium · 7 min read · Runtimes & VMs, TypeScript, JavaScript, Developer tools
  Deno 1.22 changes the default type checking mode from Full to Local across most subcommands, skipping type errors in dependencies to match tsc, with a proposed move to no type checking in \`deno run\` and \`deno cache\` in 1.23.
- [Deno 2.6: dx is the new npx](https://swe.quest/articles/deno-2-6-dx-is-the-new-npx-58f73c73a151bd8c.md): Deno · 2025-12-10 · Medium · 16 min read · JavaScript, TypeScript, Runtimes & VMs, Supply chain security, Developer tools
  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.
- [Deno 1.26 Release Notes](https://swe.quest/articles/deno-1-26-release-notes-ce9a6b5cc904c41e.md): Deno · 2022-09-29 · Medium · 9 min read · JavaScript, Runtimes & VMs, TypeScript, Performance engineering
  Deno 1.26 adds the Cache Web API (persisted to disk, with some differences from browsers), WebCrypto Ed25519/X25519 keys, and a new --allow-sys permission that separates OS-info APIs like hostname and systemMemoryInfo from --allow-env. npm support gains a --node-modules-dir flag that lays out a pnpm-style node\_modules for packages that expect one, plus targeted --reload=npm: flags, and the old --compat mode is removed.

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)
