Deno

A secure runtime for JavaScript and TypeScript built with V8, Rust, and Tokio
Linux & Mac Windows
deno
deno_std
deno_install
registry

Install #

Using Shell:

curl -fsSL https://deno.land/x/install/install.sh | sh

Or using PowerShell:

iwr https://deno.land/x/install/install.ps1 -useb | iex

Using Homebrew (mac):

brew install deno

Using Scoop (windows):

scoop install deno

See deno_install for more installation options.

Example #

Try running a simple program:

deno https://deno.land/welcome.ts

Or a more complex one:

import { serve } from "https://deno.land/std@v0.11/http/server.ts";

async function main() {
  const body = new TextEncoder().encode("Hello World\n");
  for await (const req of serve(":8000")) {
    req.respond({ body });
  }
}

main();

Dig in... #

Manual

API Reference

Standard Modules

Style Guide

Module repository

Twitter Account

Release notes

Community chat room

Benchmarks

A curated list of awesome Deno things