
A modern runtime for JavaScript and TypeScript.
Deno
(/ˈdiːnoʊ/, pronounced
dee-no) is a JavaScript, TypeScript, and WebAssembly runtime with secure
defaults and a great developer experience. It's built on V8,
Rust, and Tokio.
Learn more about the Deno runtime in the documentation.
Install the Deno runtime on your system using one of the commands below. Note that there are a number of ways to install Deno - a comprehensive list of installation options can be found here.
Shell (Mac, Linux):
curl -fsSL https://deno.land/install.sh | shPowerShell (Windows):
irm https://deno.land/install.ps1 | iexHomebrew (Mac):
brew install denoChocolatey (Windows):
choco install denoWinGet (Windows):
winget install --id=DenoLand.DenoScoop (Windows):
scoop install main/denoComplete instructions for building Deno from source can be found here.
Deno can be used for many different applications, but is most commonly used to
build web servers. Create a file called server.ts and include the following
TypeScript code:
Deno.serve((_req: Request) => {
return new Response("Hello, world!");
});Run your server with the following command:
deno run --allow-net server.tsThis should start a local web server on http://localhost:8000.
Learn more about writing and running Deno programs in the docs.
We appreciate your help! To contribute, please read our contributing instructions.
deno desktop: macOS raw `getNativeWindow()` panics — can only access NSView on the main thread
deno desktop: raw backend fails to launch on aarch64-apple-darwin, no .app bundle shipped
desktop, CEF: unable to intercept chromium shortcuts
deno desktop - delayed window closure broken
`Headers` does not reject values containing CR / LF and leading / trailing whitespace
`[Feature Request / Bug]: Decouple Deno.Tray from BrowserWindow & fix tray menu interactivity when host window is hidden on Windows (WebView2 backend)`
deno_core: snapshotting a JsRuntimeForSnapshot restored from a snapshot drops inherited extension sources; the next restore segfaults
bench compare
`deno run` coverage reports untaken top-level branches as covered when the V8 code cache is warm
Client-side support for TLS Encrypted Client Hello