From a1de28dbef5718ddf03ebce5c3c29f31a8631992 Mon Sep 17 00:00:00 2001 From: Mark Tiedemann Date: Tue, 19 Feb 2019 00:19:43 +0100 Subject: Update installation documentation (Fixes #1786) (#1802) --- website/index.html | 11 ++++++----- website/manual.md | 16 +++------------- 2 files changed, 9 insertions(+), 18 deletions(-) (limited to 'website') diff --git a/website/index.html b/website/index.html index f05f2e575..349ca36e9 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 ec4ced45e..0f8072eca 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 -- cgit v1.2.3