Deno 2.9 lands: build native desktop apps from the web, no Electron
Deno 2.9 introduces `deno desktop` — turning a Deno or Next.js project into a single native binary with no Electron boilerplate. It also reads npm/pnpm/yarn/Bun lockfiles directly for easier migration, adds CSS module imports, a stronger test runner (snapshot + parameterized) and Node.js 26 compatibility.
Deno shipped 2.9, headlined by deno desktop — a new way to package native desktop apps from the web stack you already know, with no Electron boilerplate and a single binary at the end. It turns a Deno project (from a single TypeScript file to a full Next.js app) into a self-contained binary that bundles the Deno runtime and a web rendering engine. Note: the feature currently requires the canary build and the API may still change before it stabilizes.
Key points
deno desktop: build native desktop apps from Deno/Next.js, no Electron, one binary output.- Easier migration:
deno installreads npm, pnpm, yarn and Bun lockfiles directly — switching package managers is a couple of commands. - CSS module imports: import CSS modules right in your code.
- Stronger testing: adds snapshot testing and parameterized testing.
- Smaller & faster:
deno compile --bundleproduces smaller binaries with faster startup. - Node.js 26 compatibility.
Summarized from Deno's official release blog. See the original for full details and upgrade guidance.
