diff --git a/docs/content/en/Getting Started/Install Eask.md b/docs/content/en/Getting Started/Install Eask.md index ddbeeda3..912e0fb3 100644 --- a/docs/content/en/Getting Started/Install Eask.md +++ b/docs/content/en/Getting Started/Install Eask.md @@ -19,6 +19,23 @@ where you don’t have a privileged account. Ideally, you should install it somewhere in your `PATH` for easy use. `/usr/local/bin` is the most probable location. +### Using Shell + +Eask's [webinstall](https://github.com/emacs-eask/cli/tree/master/webinstall) +provides convenience scripts to download and install the binary. + +#### macOS and Linux + +``` +curl -fsSL https://raw.githubusercontent.com/emacs-eask/cli/master/webinstall/install.sh | sh +``` + +#### Windows + +``` +curl.exe -fsSL https://raw.githubusercontent.com/emacs-eask/cli/master/webinstall/install.bat | cmd /Q +``` + ### npm If you have [npm](https://www.npmjs.com/) installed on your machine, you can diff --git a/webinstall/install.sh b/webinstall/install.sh index 0ce91eb5..eefe6742 100644 --- a/webinstall/install.sh +++ b/webinstall/install.sh @@ -24,8 +24,6 @@ set -e -$URL=https://github.com/emacs-eask/binaries/raw/master/linux-x64.zip - if [ "$OS" = "Windows_NT" ]; then target="win-x64" else @@ -47,7 +45,7 @@ zip=$eask_bin_dir/eask.zip mkdir -p $eask_bin_dir -curl -fsSL eask_uri -o $zip +curl -fsSL $eask_uri -o $zip tar -xf $zip -C $eask_bin_dir