From c9ef182886cc07d35a5b27fb89163d8cf21a6a47 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Sun, 15 Sep 2019 18:36:27 -0400 Subject: 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 --- website/index.html | 4 +++- website/manual.md | 9 ++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) (limited to 'website') 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

Or using PowerShell:

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

Using Homebrew (mac):

+

Using Homebrew (mac):

brew install deno

Using Scoop (windows):

scoop install deno
+

Using Cargo: +

cargo install deno_cli

See deno_install for more installation options.

Example #

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. -- cgit v1.2.3