Deno on Fedora

Deno logo

Deno is a secure runtime for JavaScript and TypeScript.

Deno is basically Node reversed.

We will install Deno on Fedora.

Enter the following commands in the Terminal.

curl -fsSL https://deno.land/x/install/install.sh | shCode language: JavaScript (javascript)

The 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"
Code language: Bash (bash)

Open a new Terminal instance.

Enter the following command.

deno

Run the following command.

deno run https://deno.land/std/examples/welcome.tsCode language: JavaScript (javascript)

Happy Coding!