mirror of
https://github.com/denoland/deno.git
synced 2025-03-03 17:34:47 -05:00
Use shell installer in docs (#1574)
This commit is contained in:
parent
d0dc4deaad
commit
34dbd31593
2 changed files with 5 additions and 4 deletions
4
Docs.md
4
Docs.md
|
@ -16,10 +16,10 @@ has no external dependencies.
|
||||||
[deno_install](https://github.com/denoland/deno_install) provides convenience
|
[deno_install](https://github.com/denoland/deno_install) provides convenience
|
||||||
scripts to download and install the binary.
|
scripts to download and install the binary.
|
||||||
|
|
||||||
Using Python:
|
Using Shell:
|
||||||
|
|
||||||
```
|
```
|
||||||
curl -L https://deno.land/x/install/install.py | python
|
curl -L https://deno.land/x/install/install.sh | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
Or using PowerShell:
|
Or using PowerShell:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<!-- Copyright 2018 the Deno authors. All rights reserved. MIT license. -->
|
<!-- Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. -->
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
@ -47,8 +47,9 @@
|
||||||
<h2>Getting started</h2>
|
<h2>Getting started</h2>
|
||||||
|
|
||||||
<p>Install Deno into ~/.deno/bin
|
<p>Install Deno into ~/.deno/bin
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
curl -L https://deno.land/x/install/install.py | python
|
curl -L https://deno.land/x/install/install.sh | sh
|
||||||
export PATH=$HOME/.deno/bin:$PATH
|
export PATH=$HOME/.deno/bin:$PATH
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue