On Windows PowerShell, the official Deno install command uses iwr and iex to download and run the install script.
Option D is for Unix shells, C is for macOS Homebrew, and D is for Linux package managers but not the official method.
Homebrew uses the brew install command to install packages like Deno.
Option B is for Windows Chocolatey, B is for Linux apt, and D is a PowerShell script which is not for macOS.
iwr https://deno.land/install.ps1 -useb | iex. What happens?iwr https://deno.land/install.ps1 -useb | iex
The iwr and iex commands are PowerShell commands and do not exist in Linux bash shell, so the shell reports 'command not found' for iwr.
curl -fsSL https://deno.land/install.sh | sh on a Unix system. What is the expected result?curl -fsSL https://deno.land/install.sh | sh
The install script downloads the Deno binary and places it in ~/.deno/bin. It also suggests adding this path to your shell PATH variable.
deno command fail after installation?deno in terminal says 'command not found'. What is the most likely cause?After installation, the Deno binary is placed in ~/.deno/bin. If this directory is not in your PATH, the shell cannot find the deno command.
