Skip to content

Commit ac0b895

Browse files
authored
docs: Document webinstall (#152)
1 parent c151525 commit ac0b895

File tree

2 files changed

+18
-3
lines changed

2 files changed

+18
-3
lines changed

docs/content/en/Getting Started/Install Eask.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,23 @@ where you don’t have a privileged account.
1919
Ideally, you should install it somewhere in your `PATH` for easy use. `/usr/local/bin`
2020
is the most probable location.
2121

22+
### Using Shell
23+
24+
Eask's [webinstall](https://github.com/emacs-eask/cli/tree/master/webinstall)
25+
provides convenience scripts to download and install the binary.
26+
27+
#### macOS and Linux
28+
29+
```
30+
curl -fsSL https://raw.githubusercontent.com/emacs-eask/cli/master/webinstall/install.sh | sh
31+
```
32+
33+
#### Windows
34+
35+
```
36+
curl.exe -fsSL https://raw.githubusercontent.com/emacs-eask/cli/master/webinstall/install.bat | cmd /Q
37+
```
38+
2239
### npm
2340

2441
If you have [npm](https://www.npmjs.com/) installed on your machine, you can

webinstall/install.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424

2525
set -e
2626

27-
$URL=https://github.com/emacs-eask/binaries/raw/master/linux-x64.zip
28-
2927
if [ "$OS" = "Windows_NT" ]; then
3028
target="win-x64"
3129
else
@@ -47,7 +45,7 @@ zip=$eask_bin_dir/eask.zip
4745

4846
mkdir -p $eask_bin_dir
4947

50-
curl -fsSL eask_uri -o $zip
48+
curl -fsSL $eask_uri -o $zip
5149

5250
tar -xf $zip -C $eask_bin_dir
5351

0 commit comments

Comments
 (0)