provides convenience scripts to download and install the binary.
Using Shell (macOS and Linux):
Using PowerShell (Windows):
Using Scoop (Windows):
Using (macOS):
Using Cargo (Windows, macOS, Linux):
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.
To test your installation, run deno --version
. If this prints the Deno version to the console the installation was successful.
To update a previously installed version of Deno, you can run:
This will fetch the latest release from github.com/denoland/deno/releases, 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
Information about how to build from source can be found in the chapter.