Why Deno / Installation

Why Deno?

Deno has a few features which has driven me to invest time into it. In no particular order:

Installation

The best source for docs will be the Deno Land homepage, which will link to install instructions somewhere.

For this example, I installed Deno using the generic curl command for MacOS or Linux. For Windows install, I'll defer to the official docs, as I haven't done development work in Windows for years.

WARNING: Before running the command below, or any similar | sh command, I highly advise you read through the install script to ensure nothing untowards will happen when exexuting.

Here are the commands used to install Deno in Linux or MacOS:

$ curl -fsSL https://deno.land/x/install/install.sh | sh # Download and install Deno.
$ export DENO_INSTALL="$HOME/.deno" # Tell Deno where it is installed.
$ export PATH="$DENO_INSTALL/bin:$PATH" # Tell your terminal to look for the deno command.

That's all it takes! Check your install by asking Deno for its version with:

$ deno --version
deno 1.29.3 (release, aarch64-apple-darwin)
v8 10.9.194.5
typescript 4.9.4