1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 15:24:46 -05:00

Update installation documentation (Fixes #1786) (#1802)

This commit is contained in:
Mark Tiedemann 2019-02-19 00:19:43 +01:00 committed by Ryan Dahl
parent 55b2f0195f
commit a1de28dbef
3 changed files with 10 additions and 19 deletions

View file

@ -3,7 +3,7 @@
Binary releases can be downloaded manually at Binary releases can be downloaded manually at
https://github.com/denoland/deno/releases 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 https://github.com/denoland/deno_install
### v0.2.11 / 2019.02.08 ### v0.2.11 / 2019.02.08

View file

@ -89,12 +89,13 @@
<h2 id="install">Install <a href="#install">#</a></h2> <h2 id="install">Install <a href="#install">#</a></h2>
<p>Mac or Linux</p> <p>Using Shell:</p>
<pre>curl -fL <a <pre>curl -fsSL <a
href="https://github.com/denoland/deno_install/blob/master/install.sh">https://deno.land/x/install/install.sh</a> | sh</pre> href="https://github.com/denoland/deno_install/blob/master/install.sh">https://deno.land/x/install/install.sh</a> | sh</pre>
<p>Windows (PowerShell)</p> <p>Or using PowerShell:</p>
<pre>iex (iwr <a <pre>iwr <a
href="https://github.com/denoland/deno_install/blob/master/install.ps1">https://deno.land/x/install/install.ps1</a>)</pre> href="https://github.com/denoland/deno_install/blob/master/install.ps1">https://deno.land/x/install/install.ps1</a> | iex</pre>
<p>See <a href="https://github.com/denoland/deno_install">deno_install</a> for more installation options.</p>
<h2 id="example">Example <a href="#example">#</a></h2> <h2 id="example">Example <a href="#example">#</a></h2>

View file

@ -82,24 +82,14 @@ scripts to download and install the binary.
Using Shell: Using Shell:
``` ```sh
curl -fL https://deno.land/x/install/install.sh | sh curl -fsSL https://deno.land/x/install/install.sh | sh
``` ```
Or using PowerShell: Or using PowerShell:
```powershell ```powershell
iex (iwr https://deno.land/x/install/install.ps1) iwr https://deno.land/x/install/install.ps1 | iex
```
_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
``` ```
Deno can also be installed manually, by downloading a tarball or zip file at Deno can also be installed manually, by downloading a tarball or zip file at