deno.js code example

Example 1: install deno

#Using Shell (macOS and Linux):
curl -fsSL https://deno.land/x/install/install.sh | sh

#Using PowerShell (Windows):
iwr https://deno.land/x/install/install.ps1 -useb | iex


#Using Scoop (Windows):
scoop install deno

#Using Chocolatey (Windows):
choco install deno

#Using Homebrew (macOS):
brew install deno

#Using Cargo (Windows, macOS, Linux):
cargo install deno

Example 2: denojs

$cargo install deno

Example 3: denojs

$iwr https://deno.land/x/install/install.ps1 -useb | iex

Example 4: dENO

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

Example 5: denojs

$brew install deno

Example 6: denojs

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