网页
综合
更新时间 2026-07-29 00:00:00
Get started with Deno | Deno Docs
自动蜘蛛
deno.com
正文约 1745 字
Deno (/ˈdiːnoʊ/, pronounced dee-no) is an open source JavaScript, TypeScript, and WebAssembly runtime with secure defaults and a great developer experience. This page takes you from nothing to a running, tested project in a few minutes.
Paste this into Claude Code, Codex, Gemini CLI, OpenCode, Cursor, Pi, or whichever agent you use:
deno.com/agents.md is a single page written for coding agents: what Deno is, the assumptions to unlearn if it already knows Node, and how to install Deno's agent skills so it keeps that context in every session. If you are asking an agent to bring an existing Node project across, it covers that too.
Install the runtime with one command:
See Installation for package managers, Docker, and other options.
Scaffold a new project with deno init:
That creates a small, ready-to-run project:
deno.json is where your tasks, dependencies, and tooling config live. Think package.json plus your tool configs, in one file.
Notice the -N (short for --allow-net). Deno is secure by default: code can't touch the network, filesystem, or environment until you grant it. Open the URL to see the response.
main.ts is TypeScript and it ran directly: no tsc, no build step. It's also built on the web-standard Deno.serve with Request/Response, so what you learn here is the platform, not a framework.
The project ships with tests. Run them with deno test. The test runner is built in, so there's nothing to install:
Pull in packages from npm or JSR with deno install:
Then import and use them:
Formatting, linting, and more come with the runtime, no setup needed:
Last updated on July 29, 2026
What can we do to improve this page?
If provided, you'll be @mentioned in the created GitHub issue
Copyright © 2026 the Deno authors.
本页为82搜索生成的网页快照,内容来自站内索引;演示数据的原文链接仅作示例。