From a1de28dbef5718ddf03ebce5c3c29f31a8631992 Mon Sep 17 00:00:00 2001 From: Mark Tiedemann Date: Tue, 19 Feb 2019 00:19:43 +0100 Subject: [PATCH] Update installation documentation (Fixes #1786) (#1802) --- Releases.md | 2 +- website/index.html | 11 ++++++----- website/manual.md | 16 +++------------- 3 files changed, 10 insertions(+), 19 deletions(-) diff --git a/Releases.md b/Releases.md index 57e5b53a77..1441124089 100644 --- a/Releases.md +++ b/Releases.md @@ -3,7 +3,7 @@ Binary releases can be downloaded manually at https://github.com/denoland/deno/releases -We also have a one-line install commands at +We also have one-line install commands at https://github.com/denoland/deno_install ### v0.2.11 / 2019.02.08 diff --git a/website/index.html b/website/index.html index f05f2e5757..349ca36e9d 100644 --- a/website/index.html +++ b/website/index.html @@ -89,12 +89,13 @@

Install #

-

Mac or Linux

-
curl -fL Using Shell:

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

Windows (PowerShell)

-
iex (iwr https://deno.land/x/install/install.ps1)
+

Or using PowerShell:

+
iwr https://deno.land/x/install/install.ps1 | iex
+

See deno_install for more installation options.

Example #

diff --git a/website/manual.md b/website/manual.md index ec4ced45e3..0f8072eca1 100644 --- a/website/manual.md +++ b/website/manual.md @@ -82,24 +82,14 @@ scripts to download and install the binary. Using Shell: -``` -curl -fL https://deno.land/x/install/install.sh | sh +```sh +curl -fsSL https://deno.land/x/install/install.sh | sh ``` Or using PowerShell: ```powershell -iex (iwr https://deno.land/x/install/install.ps1) -``` - -_Note: Depending on your security settings, you may have to run -`Set-ExecutionPolicy RemoteSigned -Scope CurrentUser` first to allow downloaded -scripts to be executed._ - -With [Scoop](https://scoop.sh/): - -``` -scoop install deno +iwr https://deno.land/x/install/install.ps1 | iex ``` Deno can also be installed manually, by downloading a tarball or zip file at