How to install Deno on Ubuntu Linux


Deno is a Type Script and JavaScript run time which offer more security and flexibility than Nodejs. It is created in Rust language, by the same Nodejs developer . The frame work has the following features

  • Secure by default. No file, network, or environment access, unless explicitly enabled.
  • Supports TypeScript out of the box.
  • Ships only a single executable file.
  • Has built-in utilities like a dependency inspector (deno info) and a code formatter (deno fmt).
  • Has a set of reviewed (audited) standard modules that are guaranteed to work with Deno:

Install Deno

You can install Deno on Linux using curl . In Ubuntu the curl may not available, so you have to install it first.

sudo apt install curl

After that we can complete Deno installation

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

The demo path will be set as home/username/.deno/bin on Ubuntu

It will install and setup and the path for Deno, Now try to check version of Deno

deno -v

Published by

Manoj

A developer,teacher and a blogger obsessed with Python,Dart and open source world from India

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.