summaryrefslogtreecommitdiff
path: root/website
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2019-09-15 18:36:27 -0400
committerGitHub <noreply@github.com>2019-09-15 18:36:27 -0400
commitc9ef182886cc07d35a5b27fb89163d8cf21a6a47 (patch)
tree6ba1605daa7e9e8cac3f6b926374086906f571b5 /website
parent1d305c2ac785af6b28649f2023d5008e390eeca0 (diff)
Make deno_cli installable via crates.io (#2946)
- Fixes cargo publish on deno_typescript, deno_cli_snapshots, and deno_cli. - Combines cli_snapshots and js into one directory. - Extracts TS version at compile time rather than runtime - Bumps version awkwardly - it was necessary to test end-to-end publishing. Sorry. - Adds git submodule deno_typescript/typescript
Diffstat (limited to 'website')
-rw-r--r--website/index.html4
-rw-r--r--website/manual.md9
2 files changed, 11 insertions, 2 deletions
diff --git a/website/index.html b/website/index.html
index c0151dd44..edb0152ad 100644
--- a/website/index.html
+++ b/website/index.html
@@ -100,10 +100,12 @@ href="https://deno.land/x/install/install.sh">https://deno.land/x/install/instal
<p>Or using PowerShell:</p>
<pre>iwr <a
href="https://deno.land/x/install/install.ps1">https://deno.land/x/install/install.ps1</a> -useb | iex</pre>
- <p>Using <a href="https://brew.sh/">Homebrew</a> (mac):</p>
+ <p>Using <a href="https://formulae.brew.sh/formula/deno">Homebrew</a> (mac):</p>
<pre>brew install deno</pre>
<p>Using <a href="https://scoop.sh/">Scoop</a> (windows):
<pre>scoop install deno</pre>
+ <p>Using <a href="https://crates.io/crates/deno_cli">Cargo</a>:
+ <pre>cargo install deno_cli</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>
diff --git a/website/manual.md b/website/manual.md
index 1016aea65..87fe68ff0 100644
--- a/website/manual.md
+++ b/website/manual.md
@@ -120,7 +120,14 @@ Using [Homebrew](https://brew.sh/) (mac):
brew install deno
```
-Deno can also be installed manually, by downloading a tarball or zip file at
+To install from source:
+
+```shell
+cargo install deno_cli
+```
+
+Deno binaries can also be installed manually, by downloading a tarball or zip
+file at
[github.com/denoland/deno/releases](https://github.com/denoland/deno/releases).
These packages contain just a single executable file. You will have to set the
executable bit on Mac and Linux.