Deno is a runtime for JavaScript, TypeScript, and WebAssembly based on the V8 JavaScript engine and the Rust programming language. Deno was co-created by Ryan Dahl, who also created Node.js.


  1. Provides web platform functionality and adopts web platform standards.
  2. By default, it is secure. No file, network, or environment access, unless explicitly enabled.
  3. Supports TypeScript out of the box.
  4. Ships only a single executable file.
  5. Has built-in development tooling like a dependency inspector (deno info) and a code formatter (deno fmt).
  6. Has a set of reviewed (audited) standard modules guaranteed to work with Deno:


Assumes you have a Dedicated server installed with Ubuntu 20.04 Or KVM VPS and are logged in as a root user access or normal user with administrative privileges. 

Installation of Deno on Ubuntu 20.04

1. Downloading Deno

As mentioned above, Deno is shipped as a single executable file. Making it possible to download and install it manually. First, locate a directory where you can download the around 30mb file. Here, we’ll use the /tmp directory:

cd /tmp

Next, use curl to download the latest release of Deno from GitHub:

curl -Lo "" ""

Once the download is complete, you’ll have a file in your current directory. Next, you’ll decompress this file and install the deno executable.

2. Update your server 

Update your system’s package index and then install unzip with apt. 

# sudo apt update

3. Install the required package.

You have to install unzip as it is required during the installation process.

# apt install unzip -y

4. Install Deno

There is a one-line command to install Deno on the system.

# curl -fsSL | sh

Once the installation is complete, run the following command to move the deno environment file to /usr/bin directory.

# mv /root/.deno/bin/deno /usr/bin/

5. Verify the installation

We can verify the installation by inspecting the version using the following command:

# deno –version


deno 1.7.4 (release, x86_64-unknown-linux-gnu)
v8 9.0.123
typescript 4.1.4

6. Run simple command

Try running a simple program using the following command:

# deno run

Or a more complex one:

import { serve } from “”;
const s = serve({ port: 8000 });
for await (const req of s) {
req.respond({ body: “Hello World\n” });

Here you can find document page


That’s it. The installation has been completed successfully.

Was this answer helpful? 0 Users Found This Useful (0 Votes)