You are viewing documentation generated from a user contribution or an upcoming release. The contents of this document may not have been reviewed by the Deno team. Click here to view the documentation for the latest release.


Deno works on macOS, Linux, and Windows. Deno is a single binary executable. It has no external dependencies.

On macOS, both M1 (arm64) and Intel (x64) executables are provided. On Linux and Windows, only x64 is supported.

Download and install

deno_install provides convenience scripts to download and install the binary.

Using Shell (macOS and Linux):

curl -fsSL | sh

Using PowerShell (Windows):

irm | iex

Using Scoop (Windows):

scoop install deno

Using Chocolatey (Windows):

choco install deno

Using Homebrew (macOS):

brew install deno

Using MacPorts (macOS):

sudo port install deno

Using Nix (macOS and Linux):

nix-shell -p deno

Using asdf (macOS and Linux):

asdf plugin-add deno
asdf install deno latest

# To install globally
asdf global deno latest

# To install locally (current project only)
asdf local deno latest

Build and install from source using Cargo:

cargo install deno --locked

Deno binaries can also be installed manually, by downloading a zip file at These packages contain just a single executable file. You will have to set the executable bit on macOS and Linux.


For more information and instructions on the official Docker images:

Testing your installation

To test your installation, run deno --version. If this prints the Deno version to the console the installation was successful.

Use deno help to see help text documenting Deno's flags and usage. Get a detailed guide on the CLI here.


To update a previously installed version of Deno, you can run:

deno upgrade

This will fetch the latest release from, unzip it, and replace your current executable with it.

You can also use this utility to install a specific version of Deno:

deno upgrade --version 1.0.1

Building from source

Information about how to build from source can be found in the Contributing chapter.