Deno is a secure runtime for JavaScript and TypeScript.

Deno is basically Node reversed.

We will install Deno on Ubuntu.

Enter the following commands in Terminal.

sudo apt install curl # do this if you don't have curl already installed
curl -fsSL https://deno.land/x/install/install.sh | sh

Next step is specifying Deno’s path to bash.

Open .bashrc and add the lines below to it.

nano ~/.bashrc
export DENO_INSTALL="/home/$USER/.deno"
export PATH="$DENO_INSTALL/bin:$PATH"

Open a new Terminal instance.

Enter the following command.

deno

To check the version on Deno simply run.

deno -v

Run the following command.

deno run https://deno.land/std/examples/welcome.ts

#deno #linux #ubuntu

How to Install Deno on Ubuntu Linux
29.25 GEEK